7165f6d21e7fb454e3e159b53d49ed105a586fb8
[yaffs-website] / web / core / modules / field / src / Plugin / migrate / source / d7 / FieldInstancePerFormDisplay.php
1 <?php
2
3 namespace Drupal\field\Plugin\migrate\source\d7;
4
5 /**
6  * The field instance per form display source class.
7  *
8  * @MigrateSource(
9  *   id = "d7_field_instance_per_form_display",
10  *   source_module = "field"
11  * )
12  */
13 class FieldInstancePerFormDisplay extends FieldInstance {
14
15   /**
16    * {@inheritdoc}
17    */
18   public function getIds() {
19     return [
20       'bundle' => [
21         'type' => 'string',
22       ],
23       'field_name' => [
24         'type' => 'string',
25         'alias' => 'fci',
26       ],
27     ];
28   }
29
30 }