UpdateTestBrokenThemeHookHooks.php
Namespace
Drupal\update_test_broken_theme_hook\HookFile
-
core/
modules/ system/ tests/ modules/ update_test_broken_theme_hook/ src/ Hook/ UpdateTestBrokenThemeHookHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\update_test_broken_theme_hook\Hook;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Hook implementations for update_test_broken_theme_hook.
*/
class UpdateTestBrokenThemeHookHooks {
/**
* Implements hook_theme().
*/
public function theme($existing, $type, $theme, $path) : array {
throw new \Exception('This mimics an exception caused by unstable dependencies.');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UpdateTestBrokenThemeHookHooks | Hook implementations for update_test_broken_theme_hook. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.