You are here

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

Same name and namespace in other branches
  1. 8.2 modules/field_event_dispatcher/src/Event/Field/WidgetFormAlterEvent.php \Drupal\field_event_dispatcher\Event\Field\WidgetFormAlterEvent::getContext()

Get the context.

Return value

array The context.

File

modules/field_event_dispatcher/src/Event/Field/WidgetFormAlterEvent.php, line 84

Class

WidgetFormAlterEvent
Class WidgetFormAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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