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
c768c8ee
Commit
c768c8ee
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Add descriptions to mapping targets.
parent
2c249cde
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/FeedsFeedNodeProcessor.inc
+5
-2
5 additions, 2 deletions
plugins/FeedsFeedNodeProcessor.inc
with
5 additions
and
2 deletions
plugins/FeedsFeedNodeProcessor.inc
+
5
−
2
View file @
c768c8ee
...
@@ -174,20 +174,23 @@ class FeedsFeedNodeProcessor extends FeedsProcessor {
...
@@ -174,20 +174,23 @@ class FeedsFeedNodeProcessor extends FeedsProcessor {
public
function
getMappingTargets
()
{
public
function
getMappingTargets
()
{
$targets
=
array
(
$targets
=
array
(
'title'
=>
array
(
'title'
=>
array
(
'name'
=>
t
(
'Title'
),
// @todo: write out.
'name'
=>
t
(
'Title'
),
'description'
=>
t
(
'The title of the feed node.'
),
),
),
'status'
=>
array
(
'status'
=>
array
(
'name'
=>
t
(
'Published status'
),
'name'
=>
t
(
'Published status'
),
'description'
=>
t
(
'Whether a feed node is published or not. 1 stands for published, 0 for not published.'
),
),
),
'created'
=>
array
(
'created'
=>
array
(
'name'
=>
t
(
'Published date'
),
'name'
=>
t
(
'Published date'
),
'description'
=>
t
(
'The UNIX time when a node has been published.'
),
),
),
'body'
=>
array
(
'body'
=>
array
(
'name'
=>
t
(
'Body'
),
'name'
=>
t
(
'Body'
),
'description'
=>
t
(
'The body of the node. The teaser will be the same as the entire body.'
),
),
),
'source'
=>
array
(
'source'
=>
array
(
'name'
=>
t
(
'Feed source'
),
'name'
=>
t
(
'Feed source'
),
// @todo: support and show descriptions.
'description'
=>
t
(
'Depending on the selected fetcher, this could be for example a URL or a path to a file.'
),
'description'
=>
t
(
'Depending on the selected fetcher, this could be for example a URL or a path to a file.'
),
'optional_unique'
=>
TRUE
,
'optional_unique'
=>
TRUE
,
),
),
...
...
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