You are here

public function FieldPluginBase::getFieldFormatterMap in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::getFieldFormatterMap()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::getFieldFormatterMap()

Get a map between D6 formatters and D8 formatters for this field type.

This is used by static::alterFieldFormatterMigration() in the base class.

Return value

array The keys are D6 formatters and the values are D8 formatters.

Overrides MigrateFieldInterface::getFieldFormatterMap

1 call to FieldPluginBase::getFieldFormatterMap()
FieldPluginBase::alterFieldFormatterMigration in core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php
Apply any custom processing to the field formatter migration.
12 methods override FieldPluginBase::getFieldFormatterMap()
DateField::getFieldFormatterMap in core/modules/datetime/src/Plugin/migrate/field/DateField.php
Get a map between D6 formatters and D8 formatters for this field type.
Email::getFieldFormatterMap in core/modules/field/src/Plugin/migrate/field/Email.php
Get a map between D6 formatters and D8 formatters for this field type.
EntityReference::getFieldFormatterMap in core/modules/field/src/Plugin/migrate/field/d7/EntityReference.php
Get a map between D6 formatters and D8 formatters for this field type.
FileField::getFieldFormatterMap in core/modules/file/src/Plugin/migrate/field/d6/FileField.php
Get a map between D6 formatters and D8 formatters for this field type.
FileField::getFieldFormatterMap in core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php
Get a map between D6 formatters and D8 formatters for this field type.

... See full list

File

core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php, line 100

Class

FieldPluginBase
The base class for all field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

Code

public function getFieldFormatterMap() {
  return [];
}