You are here

public function Email::getFieldWidgetMap in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::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/field/src/Plugin/migrate/field/Email.php, line 26

Class

Email
MigrateField Plugin for Drupal 6 and 7 email fields.

Namespace

Drupal\field\Plugin\migrate\field

Code

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