function ConfigTranslationHooks::themesInstalled
Implements hook_themes_installed().
File
-
core/
modules/ config_translation/ src/ Hook/ ConfigTranslationHooks.php, line 80
Class
- ConfigTranslationHooks
- Hook implementations for config_translation.
Namespace
Drupal\config_translation\HookCode
public function themesInstalled() {
// 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.