You are here

public function WebformElementAlterEvent::getElement in Hook Event Dispatcher 8

Same name and namespace in other branches
  1. 8.2 modules/webform_event_dispatcher/src/Event/WebformElement/WebformElementAlterEvent.php \Drupal\webform_event_dispatcher\Event\WebformElement\WebformElementAlterEvent::getElement()
  2. 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 61

Class

WebformElementAlterEvent
Class WebformElementAlterEvent.

Namespace

Drupal\webform_event_dispatcher\Event\WebformElement

Code

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