public function TextField::getFieldWidgetMap in Drupal 8
Same name in this branch
- 8 core/modules/text/src/Plugin/migrate/cckfield/TextField.php \Drupal\text\Plugin\migrate\cckfield\TextField::getFieldWidgetMap()
- 8 core/modules/text/src/Plugin/migrate/field/d6/TextField.php \Drupal\text\Plugin\migrate\field\d6\TextField::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/ text/ src/ Plugin/ migrate/ cckfield/ TextField.php, line 35
Class
- TextField
- Plugin annotation @MigrateCckField( id = "text", type_map = { "text" = "text", "text_long" = "text_long", "text_with_summary" = "text_with_summary" }, core = {6,7}, source_module = "text", destination_module = "text", )
Namespace
Drupal\text\Plugin\migrate\cckfieldCode
public function getFieldWidgetMap() {
return [
'text_textfield' => 'text_textfield',
];
}