You are here

public function WidgetFormAlterEvent::getElement 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::getElement()

Get the element.

Return value

array The element.

File

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

Class

WidgetFormAlterEvent
Class WidgetFormAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

public function &getElement() : array {
  return $this->element;
}