function page_manager_user_view_get_arguments in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 page_manager/plugins/tasks/user_view.inc \page_manager_user_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_user_view_get_arguments()
- page_manager_user_view_get_contexts in page_manager/
plugins/ tasks/ user_view.inc - Callback to get context placeholders provided by this handler.
1 string reference to 'page_manager_user_view_get_arguments'
- page_manager_user_view_page_manager_tasks in page_manager/
plugins/ tasks/ user_view.inc - @file Overrides the user profile display at user/%user.
File
- page_manager/
plugins/ tasks/ user_view.inc, line 113 - Overrides the user profile display at user/%user.
Code
function page_manager_user_view_get_arguments($task, $subtask_id) {
return array(
array(
'keyword' => 'user',
'identifier' => t('User being viewed'),
'id' => 1,
'name' => 'entity_id:user',
'settings' => array(),
),
);
}