function panels_vid_panels_arguments in Panels 6.2
Same name and namespace in other branches
- 5.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',
'menu data' => 'panels_vid_menu_data',
'load function' => 'taxonomy_vocabulary',
);
return $args;
}