function TelephoneField::getFieldFormatterMap

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

Overrides FieldPluginBase::getFieldFormatterMap

File

core/modules/telephone/src/Plugin/migrate/field/d7/TelephoneField.php, line 29

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 getFieldFormatterMap() {
    return [
        'text_plain' => 'string',
        'telephone_link' => 'telephone_link',
    ];
}

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