function UpdateTestBrokenThemeHookHooks::theme
Implements 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.