function og_example_node_info in Organic groups 7.2
Same name and namespace in other branches
- 7 og_example/og_example.features.inc \og_example_node_info()
Implements hook_node_info().
File
- og_example/
og_example.features.inc, line 54 - og_example.features.inc
Code
function og_example_node_info() {
$items = array(
'group' => array(
'name' => t('Group'),
'base' => 'node_content',
'description' => t('The group that will have members and content associated with.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'post' => array(
'name' => t('Post'),
'base' => 'node_content',
'description' => t('Content that will belong to a single or multiple groups.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
return $items;
}