class UpdateTestBrokenThemeHookHooks

Hook implementations for update_test_broken_theme_hook.

Hierarchy

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\Hook
View 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.');
    }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.