You are here

function page_manager_blog_user_get_arguments in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/tasks/blog_user.inc \page_manager_blog_user_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_blog_user_get_arguments()
page_manager_blog_user_get_contexts in page_manager/plugins/tasks/blog_user.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'page_manager_blog_user_get_arguments'
page_manager_blog_user_page_manager_tasks in page_manager/plugins/tasks/blog_user.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/blog_user.inc, line 104

Code

function page_manager_blog_user_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'user',
      'identifier' => t('User being viewed'),
      'id' => 1,
      'name' => 'uid',
      'settings' => array(),
    ),
  );
}