You are here

function panels_admin_content_types_vocabulary_terms in Panels 6.2

Same name and namespace in other branches
  1. 5.2 content_types/vocabulary_terms.inc \panels_admin_content_types_vocabulary_terms()

Return all content types available.

1 string reference to 'panels_admin_content_types_vocabulary_terms'
panels_vocabulary_terms_panels_content_types in content_types/vocabulary_terms.inc
Callback function to supply a list of content types.

File

content_types/vocabulary_terms.inc, line 69

Code

function panels_admin_content_types_vocabulary_terms() {
  return array(
    'description' => array(
      'title' => t('Vocabulary terms'),
      'icon' => 'icon_node.png',
      'path' => panels_get_path('content_types/node'),
      'description' => t('All the terms in a vocabulary.'),
      'required context' => new panels_required_context(t('Vocabulary'), 'vocabulary'),
      'category' => array(
        t('Vocabulary context'),
        -9,
      ),
    ),
  );
}