You are here

function page_manager_set_page_cache in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 page_manager/page_manager.module \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

... See full list

File

page_manager/page_manager.module, line 356
The page manager module provides a UI and API to manage pages.

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