function EntityFieldInstance::getIds

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

Overrides EntityConfigBase::getIds

File

core/modules/migrate/src/Plugin/migrate/destination/EntityFieldInstance.php, line 52

Class

EntityFieldInstance
Provides destination plugin for field_config configuration entities.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function getIds() {
    $ids['entity_type']['type'] = 'string';
    $ids['bundle']['type'] = 'string';
    $ids['field_name']['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.