config_translation_themes_installed

config_translation_themes_installed()

Implements hook_themes_installed().

File

core/modules/config_translation/config_translation.module, line 53
Configuration Translation module.

Code

function config_translation_themes_installed() {
  // 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();
}
doc_Drupal
2016-10-29 08:55:26
Comments
Leave a Comment

Please login to continue.