public function LibraryInfoAlterEvent::__construct in Hook Event Dispatcher 8
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
- src/
Event/ Theme/ LibraryInfoAlterEvent.php, line 38
Class
- LibraryInfoAlterEvent
- Class LibraryInfoAlterEvent.
Namespace
Drupal\hook_event_dispatcher\Event\ThemeCode
public function __construct(array &$libraries, $extension) {
$this->libraries =& $libraries;
$this->extension = $extension;
}