You are here

function uc_addresses_feeds_plugins in Ubercart Addresses 7

Implements hook_feeds_plugins().

Declares the following:

  • Processor for Ubercart Addresses.

Return value

array An array of Feeds plugins.

File

./uc_addresses.module, line 1478
Adds user profile address support to Ubercart.

Code

function uc_addresses_feeds_plugins() {
  $info = array();
  $info['FeedsUcAddressesProcessor'] = array(
    'name' => t('Ubercart Addresses processor'),
    'description' => t('Create and update Ubercart Addresses.'),
    'handler' => array(
      'parent' => 'FeedsProcessor',
      'class' => 'FeedsUcAddressesProcessor',
      'file' => 'FeedsUcAddressesProcessor.inc',
      'path' => drupal_get_path('module', 'uc_addresses') . '/feeds',
    ),
  );
  return $info;
}