function page_manager_node_view_get_arguments in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 page_manager/plugins/tasks/node_view.inc \page_manager_node_view_get_arguments()
Callback to get arguments provided by this task handler.
Since this is the node view and there is no UI on the arguments, we create dummy arguments that contain the needed data.
1 call to page_manager_node_view_get_arguments()
- page_manager_node_view_get_contexts in page_manager/
plugins/ tasks/ node_view.inc - Callback to get context placeholders provided by this handler.
1 string reference to 'page_manager_node_view_get_arguments'
- 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 136 - Handle the 'node view' override task.
Code
function page_manager_node_view_get_arguments($task, $subtask_id) {
return array(
array(
'keyword' => 'node',
'identifier' => t('Node being viewed'),
'id' => 1,
'name' => 'entity_id:node',
'settings' => array(),
),
);
}