function page_manager_handler_enable_submit

Enable the page after it has been confirmed.

File

page_manager/page_manager.admin.inc, line 1717

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',
    );
}