function FileField::getFieldFormatterMap
Same name in this branch
- 8.9.x core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldFormatterMap()
- 8.9.x core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php \Drupal\file\Plugin\migrate\cckfield\d6\FileField::getFieldFormatterMap()
Same name in other branches
- 9 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldFormatterMap()
- 10 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldFormatterMap()
- 11.x core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldFormatterMap()
Overrides FieldPluginBase::getFieldFormatterMap
File
-
core/
modules/ file/ src/ Plugin/ migrate/ cckfield/ d7/ FileField.php, line 38
Class
- FileField
- Plugin annotation @MigrateCckField( id = "file", core = {7}, source_module = "file", destination_module = "file" )
Namespace
Drupal\file\Plugin\migrate\cckfield\d7Code
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',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.