IncidentEvents::NEW_REPORT

Same name in other branches
  1. 8.x-1.x events_example/src/Event/IncidentEvents.php \Drupal\events_example\Event\IncidentEvents::NEW_REPORT
  2. 4.0.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

modules/events_example/src/Event/IncidentEvents.php, line 56

Class

IncidentEvents
Defines events for the events_example module.

Namespace

Drupal\events_example\Event

Code

const NEW_REPORT = 'events_example.new_incident_report';