function EntityReference::getFieldFormatterMap

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

Overrides FieldPluginBase::getFieldFormatterMap

File

core/modules/field/src/Plugin/migrate/field/d7/EntityReference.php, line 27

Class

EntityReference
MigrateField plugin for Drupal 7 entity_reference fields.

Namespace

Drupal\field\Plugin\migrate\field\d7

Code

public function getFieldFormatterMap() {
    return [
        'entityreference_label' => 'entity_reference_label',
        'entityreference_entity_id' => 'entity_reference_entity_id',
        'entityreference_entity_view' => 'entity_reference_entity_view',
    ];
}

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