Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
9e415bb3
Commit
9e415bb3
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Remove hook_node_info() - will live in feeds_defaults module.
parent
5a69d26f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
feeds.module
+0
-42
0 additions, 42 deletions
feeds.module
with
0 additions
and
42 deletions
feeds.module
+
0
−
42
View file @
9e415bb3
...
...
@@ -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().
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment