You are here

function page_manager_node_view_get_contexts in Chaos Tool Suite (ctools) 6

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

Callback to get context placeholders provided by this handler.

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

File

page_manager/plugins/tasks/node_view.inc, line 131
Handle the 'node view' override task.

Code

function page_manager_node_view_get_contexts($task, $subtask_id) {
  return ctools_context_get_placeholders_from_argument(page_manager_node_view_get_arguments($task, $subtask_id));
}