You are here

public function TextField::getFieldWidgetMap in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/text/src/Plugin/migrate/field/d6/TextField.php \Drupal\text\Plugin\migrate\field\d6\TextField::getFieldWidgetMap()
  2. 9 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/field/d6/TextField.php, line 29

Class

TextField
Plugin annotation @MigrateField( id = "d6_text", type_map = { "text" = "text", "text_long" = "text_long", "text_with_summary" = "text_with_summary" }, core = {6}, source_module = "text", destination_module = "text", )

Namespace

Drupal\text\Plugin\migrate\field\d6

Code

public function getFieldWidgetMap() {
  return [
    'text_textfield' => 'text_textfield',
  ];
}