function PhoneField::getFieldFormatterMap

Overrides FieldPluginBase::getFieldFormatterMap

File

core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php, line 22

Class

PhoneField
#[MigrateField(id: 'phone', core: [ 7, ], type_map: [ 'phone' => 'telephone', ], source_module: 'phone', destination_module: 'telephone')]

Namespace

Drupal\telephone\Plugin\migrate\field\d7

Code

public function getFieldFormatterMap() {
  return [
    'phone' => 'basic_string',
  ];
}

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