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. 10 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 53

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.