function IncidentReportEvent::getType

Same name in other branches
  1. 3.x modules/events_example/src/Event/IncidentReportEvent.php \Drupal\events_example\Event\IncidentReportEvent::getType()
  2. 8.x-1.x 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\Event

Code

public function getType() {
    return $this->type;
}