function feeds_news_node_info in Feeds 6
Same name and namespace in other branches
- 8.2 feeds_news/feeds_news.features.inc \feeds_news_node_info()
- 7.2 feeds_news/feeds_news.features.inc \feeds_news_node_info()
- 7 feeds_news/feeds_news.features.inc \feeds_news_node_info()
Implementation of hook_node_info().
File
- feeds_news/
feeds_news.features.inc, line 16
Code
function feeds_news_node_info() {
$items = array(
'feed' => array(
'name' => t('Feed'),
'module' => 'node',
'description' => t('Subscribe to RSS or Atom feeds. Creates nodes of the content type "Feed item" from feed content.'),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
'body_label' => t('Body'),
'min_word_count' => '0',
'help' => '',
),
'feed_item' => array(
'name' => t('Feed item'),
'module' => 'node',
'description' => t('This content type is being used for automatically aggregated content from feeds.'),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
'body_label' => t('Body'),
'min_word_count' => '0',
'help' => '',
),
);
return $items;
}