function page_manager_handler_disable_submit

Disable the page after it has been confirmed.

File

page_manager/page_manager.admin.inc, line 1753

Code

function page_manager_handler_disable_submit(&$form, &$form_state) {
    $form_state['handler']->disabled = TRUE;
    $form_state['page']->handler_info[$form_state['handler_id']]['disabled'] = TRUE;
    $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',
        'enable',
    );
}