function page_manager_handler_enable_submit in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/page_manager.admin.inc \page_manager_handler_enable_submit()
Enable the page after it has been confirmed.
File
- page_manager/
page_manager.admin.inc, line 1628 - Administrative functions for the page manager.
Code
function page_manager_handler_enable_submit(&$form, &$form_state) {
$form_state['handler']->disabled = FALSE;
$form_state['page']->handler_info[$form_state['handler_id']]['disabled'] = FALSE;
$form_state['page']->handler_info[$form_state['handler_id']]['changed'] |= PAGE_MANAGER_CHANGED_STATUS;
$form_state['new trail'] = array(
'handlers',
$form_state['handler_id'],
'actions',
'disable',
);
}