function ThemePageTestHooks::systemInfoAlter
Implements hook_system_info_alter().
File
-
core/
modules/ system/ tests/ modules/ theme_page_test/ src/ Hook/ ThemePageTestHooks.php, line 18
Class
- ThemePageTestHooks
- Hook implementations for theme_page_test.
Namespace
Drupal\theme_page_test\HookCode
public function systemInfoAlter(&$info, Extension $file, $type) {
// Make sure that all themes are visible on the Appearance form.
if ($type === 'theme') {
unset($info['hidden']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.