You are here

public function TemplatePreprocessDefaultVariablesAlterEvent::setVariables in Hook Event Dispatcher 8

Set the updated default template variables.

Parameters

array $variables: The updated associative array of default template variables.

File

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

Class

TemplatePreprocessDefaultVariablesAlterEvent
Class TemplatePreprocessDefaultVariablesAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Theme

Code

public function setVariables(array $variables) {
  $this->variables = $variables;
}