You are here

function party_view_page_manager_get_arguments in Party 8.2

Same name and namespace in other branches
  1. 7 plugins/tasks/party_view.inc \party_view_page_manager_get_arguments()

Callback to get arguments provided by this task handler.

Since this is the party view and there is no UI on the arguments, we create dummy arguments that contain the needed data.

1 call to party_view_page_manager_get_arguments()
party_view_page_manager_get_contexts in plugins/tasks/party_view.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'party_view_page_manager_get_arguments'
party_party_view_page_manager_tasks in plugins/tasks/party_view.inc
Implements hook_page_manager_task_tasks()

File

plugins/tasks/party_view.inc, line 115
Handle the 'party view' overrride task

Code

function party_view_page_manager_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'party',
      'identifier' => t('Party being viewed'),
      'id' => 1,
      'name' => 'entity_id:party',
      'settings' => array(),
    ),
  );
}