function theme_page_test_system_info_alter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/theme_page_test/theme_page_test.module \theme_page_test_system_info_alter()
Implements hook_system_info_alter().
File
- core/
modules/ system/ tests/ modules/ theme_page_test/ theme_page_test.module, line 8
Code
function theme_page_test_system_info_alter(&$info, Extension $file, $type) {
// Make sure that all themes are visible on the Appearance form.
if ($type == 'theme') {
unset($info['hidden']);
}
}