public function PageEventVariables::getRootVariablesByReference in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Variables/PageEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\PageEventVariables::getRootVariablesByReference()
Get the complete $variables of the page template.
Return value
array Reference to all variables of the page template.
File
- modules/
preprocess_event_dispatcher/ src/ Variables/ PageEventVariables.php, line 96
Class
- PageEventVariables
- Class PageEventVariables.
Namespace
Drupal\preprocess_event_dispatcher\VariablesCode
public function &getRootVariablesByReference() : array {
return $this->variables;
}