function page_manager_page_add_subtask_cancel
Callback generated when the 'cancel' button is clicked.
All we do here is clear the cache.
1 string reference to 'page_manager_page_add_subtask_cancel'
- page_manager_page_add_subtask in page_manager/
plugins/ tasks/ page.admin.inc - Page callback to add a subtask.
File
-
page_manager/
plugins/ tasks/ page.admin.inc, line 375
Code
function page_manager_page_add_subtask_cancel(&$form_state) {
// Wipe all our stored changes.
if (isset($form_state['page']->task_name)) {
page_manager_clear_page_cache($form_state['page']->task_name);
}
}