constant IncidentEvents::NEW_REPORT in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/events_example/src/Event/IncidentEvents.php \Drupal\events_example\Event\IncidentEvents::NEW_REPORT
Name of the event fired when a new incident is reported.
This event allows modules to perform an action whenever a new incident is reported via the incident report form. The event listener method receives a \Drupal\events_example\Event\IncidentReportEvent instance.
See also
\Drupal\events_example\Event\IncidentReportEvent
File
- events_example/
src/ Event/ IncidentEvents.php, line 56
Class
- IncidentEvents
- Defines events for the events_example module.
Namespace
Drupal\events_example\EventCode
const NEW_REPORT = 'events_example.new_incident_report';