function page_manager_set_page_cache
Store changes to a task handler in the object cache.
14 calls to page_manager_set_page_cache()
- page_manager_cache_page_manager_context_cache_finalize in page_manager/
plugins/ cache/ page_manager_context.inc - Copy temporary data from the page manager cache.
- page_manager_cache_page_manager_context_cache_set in page_manager/
plugins/ cache/ page_manager_context.inc - page_manager_edit_page_finish in page_manager/
page_manager.admin.inc - Callback generated when the an operation edit finished.
- page_manager_edit_page_next in page_manager/
page_manager.admin.inc - Callback generated when the 'next' button is clicked.
- page_manager_enable_page in page_manager/
page_manager.admin.inc - Menu callback to enable or disable a page
File
-
page_manager/
page_manager.module, line 356
Code
function page_manager_set_page_cache($page) {
if (!empty($page->locked)) {
return;
}
if (empty($page->task_name)) {
return;
}
ctools_include('object-cache');
$page->changed = TRUE;
$cache = ctools_object_cache_set('page_manager_page', $page->task_name, $page);
}