function Email::getFieldWidgetMap

Same name in other branches
  1. 9 core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::getFieldWidgetMap()
  2. 10 core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::getFieldWidgetMap()
  3. 11.x core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::getFieldWidgetMap()

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',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.