You are here

public function FormEventVariables::getElement in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Variables/FormEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\FormEventVariables::getElement()

Get the element array by reference.

Return value

array Element array reference.

File

modules/preprocess_event_dispatcher/src/Variables/FormEventVariables.php, line 16

Class

FormEventVariables
Class FormEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

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