You are here

public function FieldEventVariables::getElement in Hook Event Dispatcher 8

Get the element array by reference.

Return value

array Element array reference.

File

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

Class

FieldEventVariables
Class FieldEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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