function panels_node_comments_panels_content_types in Panels 6.2
Same name and namespace in other branches
- 5.2 content_types/node_comments.inc \panels_node_comments_panels_content_types()
Plugin declaration function - returns a plugin definition array that describes the content type.
File
- content_types/
node_comments.inc, line 8
Code
function panels_node_comments_panels_content_types() {
if (module_exists('comment')) {
$items['node_comments'] = array(
'title' => t('Node comments'),
'content_types' => 'panels_admin_content_types_node_comments',
'single' => TRUE,
'render callback' => 'panels_content_node_comments',
'add callback' => 'panels_admin_edit_node_comments',
'edit callback' => 'panels_admin_edit_node_comments',
'title callback' => 'panels_admin_title_node_comments',
);
}
return $items;
}