public function WebformElementAlterEvent::getElement in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 8 modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php \Drupal\webform_event_dispatcher\Event\WebformElement\WebformElementAlterEvent::getElement()
- 3.x modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php \Drupal\webform_event_dispatcher\Event\WebformElement\WebformElementAlterEvent::getElement()
Get the webform element.
Return value
array The element.
File
- modules/
webform_event_dispatcher/ src/ Event/ WebformElement/ WebformElementAlterEvent.php, line 59
Class
- WebformElementAlterEvent
- Class WebformElementAlterEvent.
Namespace
Drupal\webform_event_dispatcher\Event\WebformElementCode
public function &getElement() : array {
return $this->element;
}