public function WidgetFormAlterEvent::getElement in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x 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\FieldCode
public function &getElement() : array {
return $this->element;
}