function page_manager_http_response_title in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/plugins/task_handlers/http_response.inc \page_manager_http_response_title()
Set up a title for the handler based upon the selection rules.
1 string reference to 'page_manager_http_response_title'
- http_response.inc in page_manager/
plugins/ task_handlers/ http_response.inc - This is the task handler plugin to handle generating 403, 404 and 301 response codes.
File
- page_manager/
plugins/ task_handlers/ http_response.inc, line 205 - This is the task handler plugin to handle generating 403, 404 and 301 response codes.
Code
function page_manager_http_response_title($handler, $task, $subtask) {
if (isset($handler->conf['title'])) {
return check_plain($handler->conf['title']);
}
else {
return t('HTTP response code');
}
}