You are here

function search_api_page_search_api_page_get_arguments in Search API Pages 7

Retrieves the 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 search_api_page_search_api_page_get_arguments()
search_api_page_search_api_page_get_contexts in plugins/tasks/search_api_page.inc
Retrieves the context placeholders provided by this handler.
1 string reference to 'search_api_page_search_api_page_get_arguments'
search_api_page_search_api_page_page_manager_tasks in plugins/tasks/search_api_page.inc
Implements a specialized version of hook_page_manager_task_tasks().

File

plugins/tasks/search_api_page.inc, line 129
Handles the 'search api page' override task.

Code

function search_api_page_search_api_page_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'keywords',
      'identifier' => t('Keywords'),
      'id' => 1,
      'name' => 'string',
      'settings' => array(
        'use_tail' => TRUE,
      ),
    ),
  );
}