You are here

function panels_term_list_panels_content_types in Panels 6.2

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

Callback function to supply a list of content types.

File

content_types/term_list.inc, line 7

Code

function panels_term_list_panels_content_types() {
  $items['term_list'] = array(
    'title' => t('List of related terms'),
    'content_types' => 'panels_admin_content_types_term_list',
    'single' => TRUE,
    'render callback' => 'panels_content_term_list',
    'add callback' => 'panels_admin_edit_term_list',
    'edit callback' => 'panels_admin_edit_term_list',
    'title callback' => 'panels_admin_title_term_list',
  );
  return $items;
}