You are here

class MigrateCommerceCustomerProfileReferenceFieldHandler in Commerce Migrate 7

@file Support for processing commerce fields (product reference, customer profile reference, price)

Hierarchy

Expanded class hierarchy of MigrateCommerceCustomerProfileReferenceFieldHandler

1 string reference to 'MigrateCommerceCustomerProfileReferenceFieldHandler'
commerce_migrate_migrate_api in ./commerce_migrate.module
Implements hook_migrate_api().

File

plugins/destinations/fields.inc, line 9
Support for processing commerce fields (product reference, customer profile reference, price)

View source
class MigrateCommerceCustomerProfileReferenceFieldHandler extends MigrateSimpleFieldHandler {
  public function __construct() {
    parent::__construct(array(
      'value_key' => 'profile_id',
      'skip_empty' => TRUE,
    ));
    $this
      ->registerTypes(array(
      'commerce_customer_profile_reference',
    ));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateCommerceCustomerProfileReferenceFieldHandler::__construct public function Construct a simple field handler. Overrides MigrateSimpleFieldHandler::__construct
MigrateFieldHandler::getFieldLanguage function Determine the language of the field.
MigrateHandler::$dependencies protected property List of other handler classes which should be invoked before the current one.
MigrateHandler::$typesHandled protected property List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc.
MigrateHandler::getDependencies public function
MigrateHandler::getTypesHandled public function
MigrateHandler::handlesType public function Does this handler handle the given type? 1
MigrateHandler::registerTypes protected function Register a list of types handled by this class
MigrateSimpleFieldHandler::$fieldValueKey protected property
MigrateSimpleFieldHandler::$skipEmpty protected property
MigrateSimpleFieldHandler::notNull protected function Returns TRUE only for values which are not NULL. 2
MigrateSimpleFieldHandler::prepare public function