v3 notifications trigger

In v2 we had config/notifications.php ['database']['trigger'] = 'notifications.database-notifications-trigger'. What is the alternative for that in v3? I'm trying to migrate our App from v2 to v3.
Solution
Add ...

DatabaseNotifications::trigger('filament-notifications.database-notifications-trigger');

... to a service provider, as per the Database Notifications documentation.

At the risk of sounding like a smartass, I'd suggest reading the v3 documentation if you are migrating to v3. 🙂

https://filamentphp.com/docs/3.x/notifications/database-notifications#overview
Was this page helpful?