function forum_node_info in Drupal 7
Same name and namespace in other branches
- 4 modules/forum.module \forum_node_info()
- 5 modules/forum/forum.module \forum_node_info()
- 6 modules/forum/forum.module \forum_node_info()
Implements hook_node_info().
File
- modules/
forum/ forum.module, line 450 - Provides discussion forums.
Code
function forum_node_info() {
return array(
'forum' => array(
'name' => t('Forum topic'),
'base' => 'forum',
'description' => t('A <em>forum topic</em> starts a new discussion thread within a forum.'),
'title_label' => t('Subject'),
),
);
}