Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / destination / EntityFieldStorageConfig.php
1 <?php
2
3 namespace Drupal\migrate\Plugin\migrate\destination;
4
5 /**
6  * Provides entity field storage configuration plugin.
7  *
8  * @MigrateDestination(
9  *   id = "entity:field_storage_config"
10  * )
11  */
12 class EntityFieldStorageConfig extends EntityConfigBase {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function getIds() {
18     $ids['entity_type']['type'] = 'string';
19     $ids['field_name']['type'] = 'string';
20     return $ids;
21   }
22
23   /**
24    * {@inheritdoc}
25    */
26   public function rollback(array $destination_identifier) {
27     $destination_identifier = implode('.', $destination_identifier);
28     parent::rollback([$destination_identifier]);
29   }
30
31 }