You are here

feeds_entity_processor.api.php in Feeds entity processor 7

Documentation of Feeds entity processor hooks.

File

feeds_entity_processor.api.php
View source
<?php

/**
 * @file
 * Documentation of Feeds entity processor hooks.
 */

/**
 * Declare handlers for entity properties.
 */
function hook_feeds_entity_processor_properties() {
  $info = array();
  $info['my_property_type'] = array(
    'handler' => array(
      'class' => 'FeedsEntityProcessorPropertyMyPropertyType',
      'file' => 'FeedsEntityProcessorPropertyMyPropertyType.php',
      // Feeds entity processor will look for
      // FeedsEntityProcessorPropertyMyPropertyType.php in the my_module
      // directory.
      'path' => drupal_get_path('module', 'my_module'),
    ),
  );
  return $info;
}

Functions

Namesort descending Description
hook_feeds_entity_processor_properties Declare handlers for entity properties.