Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityReference.php

function 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',
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal