You are here

public function BaseThemeSuggestionsEvent::__construct in Hook Event Dispatcher 8

BaseThemeSuggestionsEvent constructor.

Parameters

array $suggestions: Suggestions.

array $variables: Variables.

string $hook: Hook name.

File

src/Event/Theme/BaseThemeSuggestionsEvent.php, line 44

Class

BaseThemeSuggestionsEvent
Class BaseThemeSuggestionsEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Theme

Code

public function __construct(array &$suggestions, array $variables, $hook) {
  $this->suggestions =& $suggestions;
  $this->variables = $variables;
  $this->hook = $hook;
}