hook_themes_installed($theme_list)
Respond to themes being installed.
Parameters
array $theme_list: Array containing the names of the themes being installed.
See also
\Drupal\Core\Extension\ThemeHandler::install()
Related topics
- Hooks
- Define functions that alter the behavior of Drupal core.
File
- core/lib/Drupal/Core/Render/theme.api.php, line 728
- Hooks and documentation related to the theme and render system.
Code
function hook_themes_installed($theme_list) { foreach ($theme_list as $theme) { block_theme_initialize($theme); } }
Please login to continue.