function update_test_broken_theme_hook_theme

Same name in other branches
  1. 11.x core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.module \update_test_broken_theme_hook_theme()

Implements hook_theme().

File

core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.module, line 11

Code

function update_test_broken_theme_hook_theme($existing, $type, $theme, $path) {
    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.