W3cubDocs

/Drupal 8

function config_translation_themes_uninstalled

config_translation_themes_uninstalled()

Implements hook_themes_uninstalled().

File

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

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();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!config_translation!config_translation.module/function/config_translation_themes_uninstalled/8.1.x