public function FileField::getFieldWidgetMap in Drupal 10
Same name in this branch
- 10 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
- 10 core/modules/file/src/Plugin/migrate/field/d7/FileField.php \Drupal\file\Plugin\migrate\field\d7\FileField::getFieldWidgetMap()
Same name and namespace in other branches
- 8 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
- 9 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
Get a map between D6 and D8 widgets for this field type.
Return value
array The keys are D6 field widget types and the values D8 widgets.
Overrides FieldPluginBase::getFieldWidgetMap
1 method overrides FileField::getFieldWidgetMap()
- FileField::getFieldWidgetMap in core/
modules/ file/ src/ Plugin/ migrate/ field/ d7/ FileField.php - Get a map between D6 and D8 widgets for this field type.
File
- core/
modules/ file/ src/ Plugin/ migrate/ field/ d6/ FileField.php, line 24
Class
- FileField
- Plugin annotation @MigrateField( id = "filefield", core = {6}, source_module = "filefield", destination_module = "file" )
Namespace
Drupal\file\Plugin\migrate\field\d6Code
public function getFieldWidgetMap() {
return [
'filefield_widget' => 'file_generic',
];
}