You are here

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

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

Get the associative array containing context for this formatter/widget.

Return value

array An associative array of context for this field formatter/widget instance.

File

modules/field_event_dispatcher/src/Event/Field/AbstractFieldSettingsSummaryFormEvent.php, line 63

Class

AbstractFieldSettingsSummaryFormEvent
Class AbstractFieldSettingsSummaryFormEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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