You are here

function panels_vid_panels_arguments in Panels 5.2

Same name and namespace in other branches
  1. 6.2 arguments/vid.inc \panels_vid_panels_arguments()

@file arguments/vid.inc

Plugin to provide an argument handler for a vocabulary id

File

arguments/vid.inc, line 9
arguments/vid.inc

Code

function panels_vid_panels_arguments() {
  $args['vid'] = array(
    'title' => t("Vocabulary ID"),
    // keyword to use for %substitution
    'keyword' => 'vocabulary',
    'description' => t('Loads a vocabulary object from the argument.'),
    'context' => 'panels_vid_context',
    'settings form' => 'panels_vid_settings_form',
    'settings form submit' => 'panels_vid_settings_form_submit',
    'displays' => 'panels_vid_displays',
    'choose display' => 'panels_vid_choose_display',
  );
  return $args;
}