You are here

function config_translation_test_system_info_alter in Drupal 9

Same name and namespace in other branches
  1. 8 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
Configuration Translation Test module.

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