function page_manager_http_response_title in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 page_manager/plugins/task_handlers/http_response.inc \page_manager_http_response_title()
Set up a title for the panel 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, 301 and 302 response codes.
File
- page_manager/
plugins/ task_handlers/ http_response.inc, line 207 - This is the task handler plugin to handle generating 403, 404, 301 and 302 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');
}
}