MigrateFieldInterface
interface MigrateFieldInterface implements PluginInspectionInterface (View source)
Provides an interface for all field type plugins.
Methods
Gets the definition of the plugin implementation.
Apply any custom processing to the field migration.
Apply any custom processing to the field instance migration.
Apply any custom processing to the field widget migration.
Apply any custom processing to the field formatter migration.
Get a map between D6 formatters and D8 formatters for this field type.
Get a map between D6 and D8 widgets for this field type.
Apply any custom processing to the field bundle migrations.
Details
string
getPluginId()
Gets the plugin_id of the plugin instance.
array
getPluginDefinition()
Gets the definition of the plugin implementation.
alterFieldMigration(MigrationInterface $migration)
Apply any custom processing to the field migration.
alterFieldInstanceMigration(MigrationInterface $migration)
Apply any custom processing to the field instance migration.
alterFieldWidgetMigration(MigrationInterface $migration)
Apply any custom processing to the field widget migration.
alterFieldFormatterMigration(MigrationInterface $migration)
Apply any custom processing to the field formatter migration.
string
getFieldFormatterType(Row $row)
Get the field formatter type from the source.
array
getFieldFormatterMap()
Get a map between D6 formatters and D8 formatters for this field type.
This is used by static::alterFieldFormatterMigration() in the base class.
string
getFieldWidgetType(Row $row)
Get the field widget type from the source.
array
getFieldWidgetMap()
Get a map between D6 and D8 widgets for this field type.
defineValueProcessPipeline(MigrationInterface $migration, string $field_name, array $data)
Apply any custom processing to the field bundle migrations.
string
getFieldType(Row $row)
Computes the destination type of a migrated field.