You are here

public function ThemeRegistryAlterEvent::__construct in Hook Event Dispatcher 8.2

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

ThemeRegistryAlterEvent constructor.

Parameters

array &$themeRegistry: The entire cache of theme registry information, post-processing.

File

modules/core_event_dispatcher/src/Event/Theme/ThemeRegistryAlterEvent.php, line 27

Class

ThemeRegistryAlterEvent
Class ThemeRegistryAlterEvent.

Namespace

Drupal\core_event_dispatcher\Event\Theme

Code

public function __construct(array &$themeRegistry) {
  $this->themeRegistry =& $themeRegistry;
}