function panels_admin_content_types_node_comments in Panels 5.2
Same name and namespace in other branches
- 6.2 content_types/node_comments.inc \panels_admin_content_types_node_comments()
Return all content types available.
1 string reference to 'panels_admin_content_types_node_comments'
- panels_node_comments_panels_content_types in content_types/
node_comments.inc - Plugin declaration function - returns a plugin definition array that describes the content type.
File
- content_types/
node_comments.inc, line 49
Code
function panels_admin_content_types_node_comments() {
return array(
'comments' => array(
'title' => t('Node comments'),
'icon' => 'icon_node.png',
'path' => panels_get_path('content_types/node'),
'description' => t('The comments of the referenced node.'),
'required context' => new panels_required_context(t('Node'), 'node'),
'category' => array(
t('Node context'),
-9,
),
),
);
}