public function AbstractThemeSuggestionsEvent::__construct in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Theme/AbstractThemeSuggestionsEvent.php \Drupal\core_event_dispatcher\Event\Theme\AbstractThemeSuggestionsEvent::__construct()
AbstractThemeSuggestionsEvent constructor.
Parameters
array $suggestions: Suggestions.
array $variables: Variables.
string $hook: Hook name.
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ AbstractThemeSuggestionsEvent.php, line 42
Class
- AbstractThemeSuggestionsEvent
- Class AbstractThemeSuggestionsEvent.
Namespace
Drupal\core_event_dispatcher\Event\ThemeCode
public function __construct(array &$suggestions, array $variables, string $hook) {
$this->suggestions =& $suggestions;
$this->variables = $variables;
$this->hook = $hook;
}