You are here

public function IframeField::getFieldFormatterMap in Iframe 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/cckfield/IframeField.php \Drupal\iframe\Plugin\migrate\cckfield\IframeField::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 FieldPluginBase::getFieldFormatterMap

File

src/Plugin/migrate/cckfield/IframeField.php, line 22

Class

IframeField
Class IframeField.

Namespace

Drupal\iframe\Plugin\migrate\cckfield

Code

public function getFieldFormatterMap() {

  // See d6_field_formatter_settings.yml and CckFieldPluginBase
  // processFieldFormatter().
  return [
    'iframe_formatter_default' => 'iframe_default',
    'iframe_formatter_iframeonly' => 'iframe_only',
    'iframe_formatter_asurl' => 'iframe_asurl',
    'iframe_formatter_asurl_withuri' => 'iframe_asurlwithuri',
  ];
}