You are here

public function FieldEventVariables::getElement in Hook Event Dispatcher 8.2

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

Get the element array by reference.

Return value

array Element array reference.

File

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

Class

FieldEventVariables
Class FieldEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

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