function ConfigTranslationTestHooks::systemInfoAlter

Implements hook_system_info_alter().

Attributes

#[Hook('system_info_alter')]

File

core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php, line 19

Class

ConfigTranslationTestHooks
Hook implementations for config_translation_test.

Namespace

Drupal\config_translation_test\Hook

Code

public function systemInfoAlter(array &$info, Extension $file, $type) : void {
  // @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.