Module: Decidim::Events::NotificationEvent

Overview

This module is used to be included in event classes (those inheriting from ‘Decidim::Events::BaseEvent`) that need to create system notifications, which will be later listed to the user in their Notifications Dashboard.

This modules adds the needed logic to display these notifications.

Example:

class MyEvent < Decidim::Events::BaseEvent
  include Decidim::Events::NotificationEvent
end