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
3 methods override EntityConfigBase::getIds()
EntityFieldInstance::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityFieldInstance.php
EntityFieldStorageConfig::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityFieldStorageConfig.php
EntityViewMode::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php

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.