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

Add descriptions to mapping targets.

parent 2c249cde
No related branches found
No related tags found
No related merge requests found
...@@ -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,
), ),
......
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