public function FileField::getFieldFormatterMap in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/src/Plugin/migrate/cckfield/FileField.php \Drupal\file\Plugin\migrate\cckfield\FileField::getFieldFormatterMap()
Get a map between D6 formatters and D8 formatters for this field type.
This is used by static::processFieldFormatter() in the base class.
Return value
array The keys are D6 formatters and the values are D8 formatters.
Overrides MigrateCckFieldInterface::getFieldFormatterMap
File
- core/
modules/ file/ src/ Plugin/ migrate/ cckfield/ FileField.php, line 33 - Contains \Drupal\file\Plugin\migrate\cckfield\FileField.
Class
- FileField
- Plugin annotation @MigrateCckField( id = "filefield" )
Namespace
Drupal\file\Plugin\migrate\cckfieldCode
public function getFieldFormatterMap() {
return [
'default' => 'file_default',
'url_plain' => 'file_url_plain',
'path_plain' => 'file_url_plain',
'image_plain' => 'image',
'image_nodelink' => 'image',
'image_imagelink' => 'image',
];
}