function HelpHooks::themesInstallOrUninstall
Implements hook_themes_installed().
Implements hook_themes_uninstalled().
Attributes
File
-
core/
modules/ help/ src/ Hook/ HelpHooks.php, line 147
Class
- HelpHooks
- Hook implementations for help.
Namespace
Drupal\help\HookCode
public function themesInstallOrUninstall(array $themes) : void {
\Drupal::service('plugin.cache_clearer')->clearCachedDefinitions();
$this->searchUpdate();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.