function page_manager_term_view_save in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 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 246 - 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']);
}
}