public function TelephoneField::getFieldWidgetMap in Drupal 10
Same name and namespace in other branches
- 9 core/modules/telephone/src/Plugin/migrate/field/d7/TelephoneField.php \Drupal\telephone\Plugin\migrate\field\d7\TelephoneField::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/ telephone/ src/ Plugin/ migrate/ field/ d7/ TelephoneField.php, line 20
Class
- TelephoneField
- Plugin annotation @MigrateField( id = "telephone", core = {7}, source_module = "telephone", destination_module = "telephone" )
Namespace
Drupal\telephone\Plugin\migrate\field\d7Code
public function getFieldWidgetMap() {
// The widget IDs are identical in Drupal 7 and 8, so we do not need any
// mapping.
return [];
}