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