You are here

function page_manager_comment_reply_get_arguments in Chaos Tool Suite (ctools) 7

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_comment_reply_get_arguments()
page_manager_comment_reply_get_contexts in page_manager/plugins/tasks/comment_reply.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'page_manager_comment_reply_get_arguments'
page_manager_comment_reply_page_manager_tasks in page_manager/plugins/tasks/comment_reply.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/comment_reply.inc, line 96

Code

function page_manager_comment_reply_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'node',
      'identifier' => t('Node being commented on'),
      'id' => 2,
      'name' => 'entity_id:node',
      'settings' => array(),
    ),
    array(
      'keyword' => 'comment',
      'identifier' => t('Comment being replied to'),
      'id' => 3,
      'name' => 'entity_id:comment',
      'settings' => array(),
    ),
  );
}