function page_manager_http_response_edit_settings_submit 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_edit_settings_submit()
File
- page_manager/
plugins/ task_handlers/ http_response.inc, line 244 - This is the task handler plugin to handle generating 403, 404 and 301 response codes.
Code
function page_manager_http_response_edit_settings_submit(&$form, &$form_state) {
$form_state['handler']->conf['title'] = $form_state['values']['title'];
$form_state['handler']->conf['code'] = $form_state['values']['code'];
$form_state['handler']->conf['destination'] = $form_state['values']['destination'];
}