class ThemePageTestHooks
Hook implementations for theme_page_test.
Hierarchy
- class \Drupal\theme_page_test\Hook\ThemePageTestHooks
Expanded class hierarchy of ThemePageTestHooks
File
-
core/
modules/ system/ tests/ modules/ theme_page_test/ src/ Hook/ ThemePageTestHooks.php, line 13
Namespace
Drupal\theme_page_test\HookView source
class ThemePageTestHooks {
/**
* Implements hook_system_info_alter().
*/
public function systemInfoAlter(&$info, Extension $file, $type) : void {
// Make sure that all themes are visible on the Appearance form.
if ($type === 'theme') {
unset($info['hidden']);
}
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ThemePageTestHooks::systemInfoAlter | public | function | Implements hook_system_info_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.