Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / destination / EntityFieldInstance.php
1 <?php
2
3 namespace Drupal\migrate\Plugin\migrate\destination;
4
5 /**
6  * Provides entity field instance plugin.
7  *
8  * @MigrateDestination(
9  *   id = "entity:field_config"
10  * )
11  */
12 class EntityFieldInstance extends EntityConfigBase {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function getIds() {
18     $ids['entity_type']['type'] = 'string';
19     $ids['bundle']['type'] = 'string';
20     $ids['field_name']['type'] = 'string';
21     if ($this->isTranslationDestination()) {
22       $ids['langcode']['type'] = 'string';
23     }
24     return $ids;
25   }
26
27 }