FieldInstancePerFormDisplay.php in Drupal 9
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\field\Plugin\migrate\source\d7File
core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.phpView 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
Name | Description |
---|---|
FieldInstancePerFormDisplay | Drupal 7 field instance per form display source from database. |