function LinkField::getFieldFormatterMap

Same name in this branch
  1. 11.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\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. 8.9.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  4. 8.9.x core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldFormatterMap()
  5. 8.9.x core/modules/link/src/Plugin/migrate/cckfield/LinkField.php \Drupal\link\Plugin\migrate\cckfield\LinkField::getFieldFormatterMap()
  6. 10 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::getFieldFormatterMap()
  7. 10 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 30

Class

LinkField
MigrateField Plugin for Drupal 7 link fields.

Namespace

Drupal\link\Plugin\migrate\field\d7

Code

public function getFieldFormatterMap() {
    return [
        'link_default' => 'link',
        'link_title_plain' => 'link',
        'link_host' => 'link',
        'link_url' => 'link',
        'link_plain' => 'link',
        'link_absolute' => 'link',
        'link_domain' => 'link',
        'link_no_protocol' => 'link',
        'link_short' => 'link',
        'link_label' => 'link',
        'link_separate' => 'link_separate',
    ];
}

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