You are here

public function PageEventVariables::getRootVariablesByReference in Hook Event Dispatcher 8

Get the complete $variables of the page template.

Return value

mixed Reference to all variables of the page template.

File

src/Event/Preprocess/Variables/PageEventVariables.php, line 104

Class

PageEventVariables
Class PageEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

public function &getRootVariablesByReference() {
  return $this->variables;
}