You are here

class MigrateAtomReferenceFieldHandler in Scald: Media Management made easy 7

Hierarchy

Expanded class hierarchy of MigrateAtomReferenceFieldHandler

1 string reference to 'MigrateAtomReferenceFieldHandler'
atom_reference_migrate_api in modules/fields/atom_reference/atom_reference.migrate.inc
Implements hook_migrate_api().

File

modules/fields/atom_reference/atom_reference.migrate.inc, line 18
Support for processing atom reference fields in Migrate.

View source
class MigrateAtomReferenceFieldHandler extends MigrateSimpleFieldHandler {

  /**
   * Constructor.
   */
  public function __construct() {
    parent::__construct(array(
      'value_key' => 'sid',
      'skip_empty' => TRUE,
    ));
    $this
      ->registerTypes(array(
      'atom_reference',
    ));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateAtomReferenceFieldHandler::__construct public function Constructor. 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