public function FieldEventVariables::getElement in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 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\VariablesCode
public function &getElement() : array {
return $this->variables['element'];
}