You are here

public function FeedsCommerceCustomerProfileProcessor::getMappingTargets in Commerce Feeds 7

Return available mapping targets.

File

plugins/FeedsCommerceCustomerProfileProcessor.inc, line 99
Class definition of FeedsCommerceCustomerProfileProcessor.

Class

FeedsCommerceCustomerProfileProcessor
Creates profiles from feed items.

Code

public function getMappingTargets() {
  $targets = parent::getMappingTargets();
  $targets += array(
    'status' => array(
      'name' => t('Customer profile status'),
      'description' => t('Status of the customer profile.'),
    ),
    'uid' => array(
      'name' => t('User ID'),
      'description' => t('The Drupal user ID that owns the profile.'),
    ),
    'type' => array(
      'name' => t('Profile type'),
      'description' => t('Commerce profile type, if not specified the default one will be used.'),
    ),
  );
  $this
    ->getHookTargets($targets);
  return $targets;
}