You are here

function panels_vocabulary_terms_panels_content_types in Panels 6.2

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

Callback function to supply a list of content types.

File

content_types/vocabulary_terms.inc, line 7

Code

function panels_vocabulary_terms_panels_content_types() {
  if (module_exists('taxonomy')) {
    $items['vocabulary_terms'] = array(
      'title' => t('Term description'),
      'content_types' => 'panels_admin_content_types_vocabulary_terms',
      'single' => TRUE,
      'render callback' => 'panels_content_vocabulary_terms',
      'add callback' => 'panels_admin_edit_vocabulary_terms',
      'edit callback' => 'panels_admin_edit_vocabulary_terms',
      'title callback' => 'panels_admin_title_vocabulary_terms',
    );
    return $items;
  }
}