You are here

function page_manager_http_response_codes in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/task_handlers/http_response.inc \page_manager_http_response_codes()

Provide a list of the response codes we support.

Abstracted so it can be more readily used both on input and output.

2 calls to page_manager_http_response_codes()
page_manager_http_response_admin_summary in page_manager/plugins/task_handlers/http_response.inc
page_manager_http_response_edit_settings in page_manager/plugins/task_handlers/http_response.inc
General settings for the handler

File

page_manager/plugins/task_handlers/http_response.inc, line 106
This is the task handler plugin to handle generating 403, 404 and 301 response codes.

Code

function page_manager_http_response_codes() {
  return array(
    404 => t('404 Page not found'),
    403 => t('403 Access denied'),
    301 => t('301 Redirect'),
  );
}