You are here

function hook_feeds_entity_processor_properties in Feeds entity processor 7

Declare handlers for entity properties.

1 function implements hook_feeds_entity_processor_properties()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

feeds_entity_processor_feeds_entity_processor_properties in ./feeds_entity_processor.feeds.inc
Implements hook_feeds_entity_processor_properties().

File

./feeds_entity_processor.api.php, line 11
Documentation of Feeds entity processor hooks.

Code

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;
}