class UpdateTestBrokenThemeHookHooks
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/update_test_broken_theme_hook/src/Hook/UpdateTestBrokenThemeHookHooks.php \Drupal\update_test_broken_theme_hook\Hook\UpdateTestBrokenThemeHookHooks
Hook implementations for update_test_broken_theme_hook.
Hierarchy
- class \Drupal\update_test_broken_theme_hook\Hook\UpdateTestBrokenThemeHookHooks
Expanded class hierarchy of UpdateTestBrokenThemeHookHooks
File
-
core/
modules/ system/ tests/ modules/ update_test_broken_theme_hook/ src/ Hook/ UpdateTestBrokenThemeHookHooks.php, line 12
Namespace
Drupal\update_test_broken_theme_hook\HookView source
class UpdateTestBrokenThemeHookHooks {
/**
* Implements hook_theme().
*/
public function theme($existing, $type, $theme, $path) : array {
throw new \Exception('This mimics an exception caused by unstable dependencies.');
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| UpdateTestBrokenThemeHookHooks::theme | public | function | Implements hook_theme(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.