public function FileEntity::alterFieldMigration in Media Migration 8
Apply any custom processing to the field migration.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.
Overrides FieldPluginBase::alterFieldMigration
File
- src/
Plugin/ migrate/ field/ FileEntity.php, line 27
Class
- FileEntity
- Field Plugin for file_entity to media migrations.
Namespace
Drupal\media_migration\Plugin\migrate\fieldCode
public function alterFieldMigration(MigrationInterface $migration) {
$settings = [
'file_entity' => [
'plugin' => 'file_entity_field_settings',
],
];
$migration
->mergeProcessOfProperty('settings', $settings);
parent::alterFieldMigration($migration);
}