function SearchHelpHooks::themesInstallOrUninstall
Same name and namespace in other branches
- 11.x core/modules/search/modules/search_help/src/Hook/SearchHelpHooks.php \Drupal\search_help\Hook\SearchHelpHooks::themesInstallOrUninstall()
Implements hook_themes_installed().
Implements hook_themes_uninstalled().
Attributes
File
-
core/
modules/ search/ modules/ search_help/ src/ Hook/ SearchHelpHooks.php, line 45
Class
- SearchHelpHooks
- Hook implementations for help.
Namespace
Drupal\search_help\HookCode
public function themesInstallOrUninstall(array $themes) : void {
$this->pluginCacheClearer
->clearCachedDefinitions();
$this->searchUpdate();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.