Skip to content
Snippets Groups Projects
Commit 9e415bb3 authored by Alex Barth's avatar Alex Barth
Browse files

Remove hook_node_info() - will live in feeds_defaults module.

parent 5a69d26f
No related branches found
No related tags found
No related merge requests found
......@@ -238,48 +238,6 @@ function feeds_feeds_plugins() {
return _feeds_feeds_plugins();
}
/**
* Implementation of hook_node_info().
*/
function feeds_node_info() {
$items = array();
if (feeds_importer_enabled('feed')) {
$items['feed'] = array(
'name' => t('Feed'),
'module' => 'features',
'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'),
'locked' => TRUE,
);
$items['feed_item'] = array(
'name' => t('Feed item'),
'module' => 'features',
'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'),
'locked' => TRUE,
);
}
if (feeds_importer_enabled('feed_light')) {
$items['feed_light'] = array(
'name' => t('Feed (light)'),
'module' => 'features',
'description' => t('Subscribe to RSS or Atom feeds. Create light weight database records from feed content.'),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
'body_label' => t('Body'),
'locked' => TRUE,
);
}
return $items;
}
/**
* Implementation of hook_nodeapi().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment