function 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.