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

Remove 'has_body'.

parent 94b088ff
No related branches found
No related tags found
No related merge requests found
......@@ -265,13 +265,11 @@ class FeedsNodeProcessor extends FeedsProcessor {
);
// Include body field only if available.
$type = node_type_get_type($this->config['content_type']);
if ($type->has_body) {
// Using 'teaser' instead of 'body' forces entire content above the break.
$targets['body'] = array(
'name' => t('Body'),
'description' => t('The body of the node. The teaser will be the same as the entire body.'),
);
}
// Using 'teaser' instead of 'body' forces entire content above the break.
$targets['body'] = array(
'name' => t('Body'),
'description' => t('The body of the node. The teaser will be the same as the entire body.'),
);
$targets += array(
'nid' => array(
'name' => t('Node ID'),
......
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