function feeds_field_extra_fields in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds.module \feeds_field_extra_fields()
Implements hook_field_extra_fields().
Related topics
File
- ./
feeds.module, line 838 - Feeds - basic API functions and hook implementations.
Code
function feeds_field_extra_fields() {
$extras = array();
foreach (node_type_get_names() as $type => $name) {
if (feeds_get_importer_id($type)) {
$extras['node'][$type]['form']['feeds'] = array(
'label' => t('Feed'),
'description' => t('Feeds module form elements'),
'weight' => 0,
);
}
}
return $extras;
}