function EntityConfigBase::getIds

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::getIds()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::getIds()
  3. 11.x core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::getIds()

Overrides MigrateDestinationInterface::getIds

1 call to EntityConfigBase::getIds()
EntityConfigBase::import in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Import the row.
3 methods override EntityConfigBase::getIds()
EntityFieldInstance::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityFieldInstance.php
Gets the destination IDs.
EntityFieldStorageConfig::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityFieldStorageConfig.php
Gets the destination IDs.
EntityViewMode::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php
Gets the destination IDs.

File

core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php, line 179

Class

EntityConfigBase
Base destination class for importing configuration entities.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function getIds() {
    $id_key = $this->getKey('id');
    $ids[$id_key]['type'] = 'string';
    if ($this->isTranslationDestination()) {
        $ids['langcode']['type'] = 'string';
    }
    return $ids;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.