You are here

function panels_custom_panels_content_types in Panels 6.2

Same name and namespace in other branches
  1. 5.2 content_types/custom.inc \panels_custom_panels_content_types()
  2. 5 content_types/custom.inc \panels_custom_panels_content_types()

Callback function to supply a list of content types.

File

content_types/custom.inc, line 7

Code

function panels_custom_panels_content_types() {
  $items['custom'] = array(
    'title' => t('Custom'),
    'weight' => -10,
    'single' => TRUE,
    'content_types' => 'panels_admin_content_types_custom',
    'render callback' => 'panels_content_custom',
    'editor render callback' => 'panels_admin_content_custom',
    'add callback' => 'panels_admin_edit_custom',
    'edit callback' => 'panels_admin_edit_custom',
    'title callback' => 'panels_admin_title_custom',
    'no override title' => TRUE,
  );
  return $items;
}