You are here

function page_manager_page_get_contexts in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 page_manager/plugins/tasks/page.inc \page_manager_page_get_contexts()

Get a group of context placeholders for the arguments.

1 call to page_manager_page_get_contexts()
page_manager_page_admin_summary in page_manager/plugins/tasks/page.inc
Provide a nice administrative summary of the page so an admin can see at a glance what this page does and how it is configured.
1 string reference to 'page_manager_page_get_contexts'
page_manager_page_page_manager_tasks in page_manager/plugins/tasks/page.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/page.inc, line 355
Handle the 'page' task, which creates pages with arbitrary tasks and lets handlers decide how they will be rendered.

Code

function page_manager_page_get_contexts($task, $subtask) {
  ctools_include('context');
  return ctools_context_get_placeholders_from_argument(page_manager_page_get_arguments($task, $subtask));
}