function page_manager_page_argument_cancel

Callback generated when the 'cancel' button is clicked.

We might have some temporary data lying around. We must remove it.

1 string reference to 'page_manager_page_argument_cancel'
page_manager_page_subtask_argument_ajax in page_manager/plugins/tasks/page.admin.inc
Ajax entry point to edit an item.

File

page_manager/plugins/tasks/page.admin.inc, line 1096

Code

function page_manager_page_argument_cancel(&$form_state) {
    $page =& $form_state['page']->subtask['subtask'];
    if (isset($page->temporary_arguments)) {
        unset($page->temporary_arguments);
        // Update the cache with changes.
        page_manager_set_page_cache($page);
    }
}