function HelpHooks::themesInstallOrUninstall

Implements hook_themes_installed().

Implements hook_themes_uninstalled().

Attributes

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

File

core/modules/help/src/Hook/HelpHooks.php, line 147

Class

HelpHooks
Hook implementations for help.

Namespace

Drupal\help\Hook

Code

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.