You are here

public function IngredientReference::getFieldFormatterMap in Recipe 8.2

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 FieldPluginBase::getFieldFormatterMap

File

modules/ingredient/src/Plugin/migrate/field/IngredientReference.php, line 46

Class

IngredientReference
MigrateField plugin for Drupal 7 ingredient_reference fields.

Namespace

Drupal\ingredient\Plugin\migrate\field

Code

public function getFieldFormatterMap() {
  return [
    'recipe_ingredient_default' => 'ingredient_default',
  ];
}