1 update_test.module update_callback_service_unavailable()

Page callback: Displays an Error 503 (Service unavailable) page.

See also

update_test_menu()

File

core/modules/update/tests/update_test/update_test.module, line 190
Module for testing Update Manager functionality.

Code

function update_callback_service_unavailable() {
  backdrop_add_http_header('Status', '503 Service unavailable');
  print "503 Service Temporarily Unavailable";
}