You are here

public function WebformElementAlterEvent::getContext in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php \Drupal\webform_event_dispatcher\Event\WebformElement\WebformElementAlterEvent::getContext()
  2. 8 modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php \Drupal\webform_event_dispatcher\Event\WebformElement\WebformElementAlterEvent::getContext()

Get the context.

Return value

array The context.

File

modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php, line 89

Class

WebformElementAlterEvent
Class WebformElementAlterEvent.

Namespace

Drupal\webform_event_dispatcher\Event\WebformElement

Code

public function getContext() : array {
  return $this->context;
}