You are here

function page_manager_term_view_save in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/tasks/term_view.inc \page_manager_term_view_save()

Save when the page cache is saved.

1 string reference to 'page_manager_term_view_save'
page_manager_term_view_page_manager_tasks in page_manager/plugins/tasks/term_view.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/term_view.inc, line 187
Handle the 'term view' override task.

Code

function page_manager_term_view_save($subtask, $cache) {
  if (isset($cache->update_values)) {
    variable_set('page_manager_term_view_type', $cache->update_values['page_manager_term_view_type']);
    variable_set('page_manager_taxonomy_breadcrumb', $cache->update_values['page_manager_taxonomy_breadcrumb']);
  }
}