function config_translation_test_system_info_alter

Same name in other branches
  1. 9 core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_system_info_alter()
  2. 10 core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_system_info_alter()
  3. 11.x core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_system_info_alter()

Implements hook_system_info_alter().

File

core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module, line 14

Code

function config_translation_test_system_info_alter(array &$info, Extension $file, $type) {
    // @see \Drupal\config_translation\Tests\ConfigTranslationUiThemeTest
    if ($file->getType() == 'theme' && $file->getName() == 'config_translation_test_theme') {
        $info['hidden'] = FALSE;
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.