function config_translation_themes_uninstalled

Same name in other branches
  1. 9 core/modules/config_translation/config_translation.module \config_translation_themes_uninstalled()
  2. 8.9.x core/modules/config_translation/config_translation.module \config_translation_themes_uninstalled()
  3. 11.x core/modules/config_translation/config_translation.module \config_translation_themes_uninstalled()

Implements hook_themes_uninstalled().

File

core/modules/config_translation/config_translation.module, line 66

Code

function config_translation_themes_uninstalled() {
    // 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.