Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / system / tests / modules / theme_page_test / theme_page_test.module
1 <?php
2
3 /**
4  * @file
5  * Test module.
6  */
7
8 use Drupal\Core\Extension\Extension;
9
10 /**
11  * Implements hook_system_info_alter().
12  */
13 function theme_page_test_system_info_alter(&$info, Extension $file, $type) {
14   // Make sure that all themes are visible on the Appearance form.
15   if ($type == 'theme') {
16     unset($info['hidden']);
17   }
18 }