function UpdateTestBrokenThemeHookHooks::theme
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::theme()
Implements hook_theme().
Attributes
#[Hook('theme')]
File
-
core/
modules/ system/ tests/ modules/ update_test_broken_theme_hook/ src/ Hook/ UpdateTestBrokenThemeHookHooks.php, line 17
Class
- UpdateTestBrokenThemeHookHooks
- Hook implementations for update_test_broken_theme_hook.
Namespace
Drupal\update_test_broken_theme_hook\HookCode
public function theme($existing, $type, $theme, $path) : array {
throw new \Exception('This mimics an exception caused by unstable dependencies.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.