function update_test_failing_update_8001

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/update_test_failing/update_test_failing.install \update_test_failing_update_8001()
  2. 8.9.x core/modules/system/tests/modules/update_test_failing/update_test_failing.install \update_test_failing_update_8001()
  3. 10 core/modules/system/tests/modules/update_test_failing/update_test_failing.install \update_test_failing_update_8001()

This update will fail.

File

core/modules/system/tests/modules/update_test_failing/update_test_failing.install, line 13

Code

function update_test_failing_update_8001() {
    throw new UpdateException('This update hook is failing.');
}

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