function IncidentReportEvent::getType
Same name in other branches
- 8.x-1.x events_example/src/Event/IncidentReportEvent.php \Drupal\events_example\Event\IncidentReportEvent::getType()
- 4.0.x modules/events_example/src/Event/IncidentReportEvent.php \Drupal\events_example\Event\IncidentReportEvent::getType()
Get the incident type.
Return value
string The type of report.
File
-
modules/
events_example/ src/ Event/ IncidentReportEvent.php, line 55
Class
- IncidentReportEvent
- Wraps a incident report event for event subscribers.
Namespace
Drupal\events_example\EventCode
public function getType() {
return $this->type;
}