function TelephoneField::getFieldWidgetMap

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

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\d7

Code

public function getFieldWidgetMap() {
    // The widget IDs are identical in Drupal 7 and 8, so we do not need any
    // mapping.
    return [];
}

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