function panels_custom_panels_content_types in Panels 6.2
Same name and namespace in other branches
- 5.2 content_types/custom.inc \panels_custom_panels_content_types()
- 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;
}