FieldInstancePerFormDisplay.php

Same filename in this branch
  1. 10 core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php
Same filename in other branches
  1. 9 core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php
  2. 9 core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
  3. 8.9.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php
  4. 8.9.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
  5. 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php
  6. 11.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php

Namespace

Drupal\field\Plugin\migrate\source\d7

File

core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php

View source
<?php

namespace Drupal\field\Plugin\migrate\source\d7;


/**
 * Drupal 7 field instance per form display source from database.
 *
 * For available configuration keys, refer to the parent classes.
 *
 * @see \Drupal\field\Plugin\migrate\source\d7\FieldInstance
 * @see \Drupal\migrate\Plugin\migrate\source\SqlBase
 * @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
 *
 * @MigrateSource(
 *   id = "d7_field_instance_per_form_display",
 *   source_module = "field"
 * )
 */
class FieldInstancePerFormDisplay extends FieldInstance {
    
    /**
     * {@inheritdoc}
     */
    public function getIds() {
        return [
            'bundle' => [
                'type' => 'string',
            ],
            'field_name' => [
                'type' => 'string',
                'alias' => 'fci',
            ],
        ];
    }

}

Classes

Title Deprecated Summary
FieldInstancePerFormDisplay Drupal 7 field instance per form display source from database.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.