You are here

function faqpanels_faq_term_get_arguments in Panels Extras 7

Same name and namespace in other branches
  1. 6 faqpanels/plugins/tasks/faq_term.inc \faqpanels_faq_term_get_arguments()

Callback to get arguments provided by this task handler.

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

1 call to faqpanels_faq_term_get_arguments()
faqpanels_faq_term_get_contexts in faqpanels/plugins/tasks/faq_term.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'faqpanels_faq_term_get_arguments'
faqpanels_faq_term_page_manager_tasks in faqpanels/plugins/tasks/faq_term.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

faqpanels/plugins/tasks/faq_term.inc, line 158
Provides additional page manager tasks FAQ page for panels use

Code

function faqpanels_faq_term_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'term',
      'identifier' => t('Term'),
      'id' => 1,
      'name' => 'tid',
      'settings' => array(),
    ),
  );
}