public function LinkField::getFieldWidgetMap in Drupal 8
Same name in this branch
- 8 core/modules/link/src/Plugin/migrate/cckfield/d7/LinkField.php \Drupal\link\Plugin\migrate\cckfield\d7\LinkField::getFieldWidgetMap()
- 8 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()
Same name and namespace in other branches
- 9 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()
- 10 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 37
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',
];
}