public function LinkField::getFieldWidgetMap in Drupal 10
Same name and namespace in other branches
- 8 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()
- 9 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::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/ link/ src/ Plugin/ migrate/ field/ d7/ LinkField.php, line 47
Class
- LinkField
- @MigrateField( id = "link_field", core = {7}, type_map = { "link_field" = "link" }, source_module = "link", destination_module = "link" )
Namespace
Drupal\link\Plugin\migrate\field\d7Code
public function getFieldWidgetMap() {
// By default, use the plugin ID for the widget types.
return [
'link_field' => 'link_default',
];
}