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