You are here

public function ComponentEntityDisplayBase::getIds in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php \Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase::getIds()

Get the destination ids.

To support MigrateIdMap maps, derived destination classes should return schema field definition(s) corresponding to the primary key of the destination being implemented. These are used to construct the destination key fields of the map table for a migration using this destination.

Return value

array An array of ids.

Overrides MigrateDestinationInterface::getIds

1 call to ComponentEntityDisplayBase::getIds()
ComponentEntityDisplayBase::import in core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
Import the row.

File

core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php, line 41
Contains \Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase.

Class

ComponentEntityDisplayBase

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function getIds() {
  $ids['entity_type']['type'] = 'string';
  $ids['bundle']['type'] = 'string';
  $ids[static::MODE_NAME]['type'] = 'string';
  $ids['field_name']['type'] = 'string';
  return $ids;
}