You are here

public function FormEventVariables::getElement in Hook Event Dispatcher 8

Get the element array by reference.

Return value

array Element array reference.

File

src/Event/Preprocess/Variables/FormEventVariables.php, line 16

Class

FormEventVariables
Class FormEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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