function 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.