You are here

public function TemplatePreprocessDefaultVariablesAlterEvent::getVariables in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/Event/Theme/TemplatePreprocessDefaultVariablesAlterEvent.php \Drupal\core_event_dispatcher\Event\Theme\TemplatePreprocessDefaultVariablesAlterEvent::getVariables()

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

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

Class

TemplatePreprocessDefaultVariablesAlterEvent
Class TemplatePreprocessDefaultVariablesAlterEvent.

Namespace

Drupal\core_event_dispatcher\Event\Theme

Code

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