function update_test_failing_update_8001 in Drupal 9
Same name and namespace in other branches
- 8 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 - Contains a failing update hook for testing the update system.
Code
function update_test_failing_update_8001() {
throw new UpdateException('This update hook is failing.');
}