EntityBaseFieldOverride.php in Zircon Profile 8.0
File
core/modules/migrate/src/Plugin/migrate/destination/EntityBaseFieldOverride.php
View source
<?php
namespace Drupal\migrate\Plugin\migrate\destination;
use Drupal\migrate\Row;
class EntityBaseFieldOverride extends EntityConfigBase {
protected function getEntityId(Row $row) {
$entity_type = $row
->getDestinationProperty('entity_type');
$bundle = $row
->getDestinationProperty('bundle');
$field_name = $row
->getDestinationProperty('field_name');
return "{$entity_type}.{$bundle}.{$field_name}";
}
}