function LinkField::getFieldFormatterMap

Same name in this branch
  1. 8.9.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  2. 8.9.x core/modules/link/src/Plugin/migrate/cckfield/LinkField.php \Drupal\link\Plugin\migrate\cckfield\LinkField::getFieldFormatterMap()
Same name in other branches
  1. 9 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  2. 9 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldFormatterMap()
  3. 10 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  4. 10 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldFormatterMap()
  5. 11.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  6. 11.x core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldFormatterMap()

Overrides LinkField::getFieldFormatterMap

File

core/modules/link/src/Plugin/migrate/field/d7/LinkField.php, line 28

Class

LinkField
@MigrateField( id = "link_field", core = {7}, type_map = { "link_field" = "link" }, source_module = "link", destination_module = "link" )

Namespace

Drupal\link\Plugin\migrate\field\d7

Code

public function getFieldFormatterMap() {
    return [
        'link_default' => 'link',
    ];
}

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