You are here

public function TemplatePreprocessDefaultVariablesAlterEvent::getVariables in Hook Event Dispatcher 8

Get the default template variables by reference.

Return value

array The associative array of default template variables, as set up by _template_preprocess_default_variables(). Passed by reference.

File

src/Event/Theme/TemplatePreprocessDefaultVariablesAlterEvent.php, line 51

Class

TemplatePreprocessDefaultVariablesAlterEvent
Class TemplatePreprocessDefaultVariablesAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Theme

Code

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