public function FileField::getFieldWidgetMap in Drupal 8
Same name in this branch
- 8 core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php \Drupal\file\Plugin\migrate\cckfield\d6\FileField::getFieldWidgetMap()
- 8 core/modules/file/src/Plugin/migrate/cckfield/d7/FileField.php \Drupal\file\Plugin\migrate\cckfield\d7\FileField::getFieldWidgetMap()
- 8 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
File
- core/
modules/ file/ src/ Plugin/ migrate/ cckfield/ d6/ FileField.php, line 29
Class
- FileField
- Plugin annotation @MigrateCckField( id = "filefield", core = {6}, source_module = "filefield", destination_module = "file" )
Namespace
Drupal\file\Plugin\migrate\cckfield\d6Code
public function getFieldWidgetMap() {
return [
'filefield_widget' => 'file_generic',
];
}