function SearchHelpHooks::themesInstallOrUninstall

Implements hook_themes_installed().

Implements hook_themes_uninstalled().

Attributes

#[Hook('themes_installed')] #[Hook('themes_uninstalled')]

File

core/modules/search/modules/search_help/src/Hook/SearchHelpHooks.php, line 45

Class

SearchHelpHooks
Hook implementations for help.

Namespace

Drupal\search_help\Hook

Code

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.