function panels_vocabulary_panels_contexts in Panels 6.2
Same name and namespace in other branches
- 5.2 contexts/vocabulary.inc \panels_vocabulary_panels_contexts()
@file contexts/vocabulary.inc
Plugin to provide a vocabulary context
File
- contexts/
vocabulary.inc, line 10 - contexts/vocabulary.inc
Code
function panels_vocabulary_panels_contexts() {
$args['vocabulary'] = array(
'title' => t("Taxonomy vocabulary"),
'description' => t('A single taxonomy vocabulary object.'),
'context' => 'panels_context_create_vocabulary',
'settings form' => 'panels_context_vocabulary_settings_form',
'settings form validate' => 'panels_context_vocabulary_settings_form_validate',
'keyword' => 'vocabulary',
'context name' => 'vocabulary',
);
return $args;
}