public function LibraryInfoAlterEvent::__construct in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Theme/LibraryInfoAlterEvent.php \Drupal\core_event_dispatcher\Event\Theme\LibraryInfoAlterEvent::__construct()
LibraryInfoAlterEvent constructor.
Parameters
array $libraries: An associative array of libraries registered by $extension. Keyed by internal library.
string $extension: Can either be 'core' or the machine name of the extension that registered the libraries.
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ LibraryInfoAlterEvent.php, line 38
Class
- LibraryInfoAlterEvent
- Class LibraryInfoAlterEvent.
Namespace
Drupal\core_event_dispatcher\Event\ThemeCode
public function __construct(array &$libraries, string $extension) {
$this->libraries =& $libraries;
$this->extension = $extension;
}