You are here

function feeds_content_extra_fields in Feeds 6

Implements hook_content_extra_fields().

Related topics

File

./feeds.module, line 500
Feeds - basic API functions and hook implementations.

Code

function feeds_content_extra_fields($type) {
  $extras = array();
  if (feeds_get_importer_id($type)) {
    $extras['feeds'] = array(
      'label' => t('Feed'),
      'description' => t('Feeds module form elements'),
      'weight' => 0,
    );
  }
  return $extras;
}