function ConfigTranslationHooks::themesUninstalled
Same name and namespace in other branches
- 11.x core/modules/config_translation/src/Hook/ConfigTranslationHooks.php \Drupal\config_translation\Hook\ConfigTranslationHooks::themesUninstalled()
Implements hook_themes_uninstalled().
Attributes
#[Hook('themes_uninstalled')]
File
-
core/
modules/ config_translation/ src/ Hook/ ConfigTranslationHooks.php, line 96
Class
- ConfigTranslationHooks
- Hook implementations for config_translation.
Namespace
Drupal\config_translation\HookCode
public function themesUninstalled() : void {
// Themes can provide *.config_translation.yml declarations.
// @todo Make ThemeHandler trigger an event instead and make
// ConfigMapperManager plugin manager subscribe to it.
// @see https://www.drupal.org/node/2206347
\Drupal::service('plugin.manager.config_translation.mapper')->clearCachedDefinitions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.