You are here

function field_collection_feeds_feeds_plugins in Field collection feeds 7

Implements hook_feeds_plugins().

File

./field_collection_feeds.module, line 12
Provides feeds integration for field collection.

Code

function field_collection_feeds_feeds_plugins() {
  $path = drupal_get_path('module', 'field_collection_feeds') . '/plugins';
  $info = array();
  $info['FeedsFieldCollectionProcessor'] = array(
    'name' => 'Field collection processor',
    'description' => 'Create and update field collection items.',
    'help' => 'Create and update field collection items from parsed content.',
    'handler' => array(
      'parent' => 'FeedsProcessor',
      'class' => 'FeedsFieldCollectionProcessor',
      'file' => 'FeedsFieldCollectionProcessor.inc',
      'path' => $path,
    ),
  );
  return $info;
}