You are here

field_collection_feeds.module in Field collection feeds 7

Provides feeds integration for field collection.

File

field_collection_feeds.module
View source
<?php

/**
 * @file
 * Provides feeds integration for field collection.
 */

/**
 * Implements hook_feeds_plugins().
 */
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;
}

Functions