function PhoneField::getFieldFormatterMap

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

Overrides FieldPluginBase::getFieldFormatterMap

File

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

Class

PhoneField
Plugin annotation @MigrateField( id = "phone", type_map = { "phone" = "telephone", }, core = {7}, 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.