function EntityFieldStorageConfig::getIds

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

Overrides EntityConfigBase::getIds

File

core/modules/migrate/src/Plugin/migrate/destination/EntityFieldStorageConfig.php, line 58

Class

EntityFieldStorageConfig
Provides destination plugin for field_storage_config configuration entities.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function getIds() {
    $ids['entity_type']['type'] = 'string';
    $ids['field_name']['type'] = 'string';
    // @todo: Remove conditional. https://www.drupal.org/node/3004574
    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.