public function ThemeEvent::addNewThemes in Hook Event Dispatcher 8
Add new themes.
Have a look at the return statement.
Parameters
array $themes: The new theme information.
Throws
\RuntimeException
See also
File
- src/
Event/ Theme/ ThemeEvent.php, line 107
Class
- ThemeEvent
- Class ThemeEvent.
Namespace
Drupal\hook_event_dispatcher\Event\ThemeCode
public function addNewThemes(array $themes) {
foreach ($themes as $theme => $information) {
$this
->addNewTheme($theme, $information);
}
}