You are here

public static function MigrateDestinationProfile2::getKeySchema in Migrate Extras 7.2

1 call to MigrateDestinationProfile2::getKeySchema()
MigrateExampleProfile2Migration::__construct in migrate_extras_examples/migrate_extras_profile2/migrate_extras_profile2.migrate.inc
General initialization of a Migration object.

File

./profile2.inc, line 20
Support for profile2 destinations.

Class

MigrateDestinationProfile2
Destination class implementing migration into nodes.

Code

public static function getKeySchema() {
  $key = 'pid';

  // Hard coded since $this->entity_key not in object context.
  return array(
    $key => array(
      'type' => 'int',
      'unsigned' => TRUE,
      'not null' => TRUE,
    ),
  );
}