public function EntityContentBase::getIds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::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 method overrides EntityContentBase::getIds()
- EntityRevision::getIds in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityRevision.php - Get the destination ids.
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityContentBase.php, line 118 - Contains \Drupal\migrate\Plugin\migrate\destination\EntityContentBase.
Class
- EntityContentBase
- The destination class for all content entities lacking a specific class.
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
public function getIds() {
$id_key = $this
->getKey('id');
$ids[$id_key]['type'] = 'integer';
return $ids;
}