You are here

function panels_term_panels_arguments in Panels 6.2

Same name and namespace in other branches
  1. 5.2 arguments/term.inc \panels_term_panels_arguments()

@file arguments/term.inc

Plugin to provide an argument handler for a Taxonomy term

File

arguments/term.inc, line 9
arguments/term.inc

Code

function panels_term_panels_arguments() {
  $args['term'] = array(
    'title' => t("Taxonomy term"),
    // keyword to use for %substitution
    'keyword' => 'term',
    'description' => t('Restricts the argument to a taxonomy term.'),
    'context' => 'panels_term_context',
    'settings form' => 'panels_term_settings_form',
    'settings form submit' => 'panels_term_settings_form_submit',
    'title function' => 'panels_term_title',
    'displays' => 'panels_term_displays',
    'choose display' => 'panels_term_choose_display',
    'native path' => 'taxonomy/term/%',
  );
  return $args;
}