You are here

function page_manager_context_cache_set in Chaos Tool Suite (ctools) 6

File

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

Code

function page_manager_context_cache_set($task_name, $key, $object) {
  $page = page_manager_get_page_cache($task_name);
  if ($page) {
    $page->context_cache[$key] = $object;
    page_manager_set_page_cache($page);
  }
}