You are here

public function FileField::getFieldWidgetMap in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/src/Plugin/migrate/cckfield/FileField.php \Drupal\file\Plugin\migrate\cckfield\FileField::getFieldWidgetMap()

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides CckFieldPluginBase::getFieldWidgetMap

File

core/modules/file/src/Plugin/migrate/cckfield/FileField.php, line 24
Contains \Drupal\file\Plugin\migrate\cckfield\FileField.

Class

FileField
Plugin annotation @MigrateCckField( id = "filefield" )

Namespace

Drupal\file\Plugin\migrate\cckfield

Code

public function getFieldWidgetMap() {
  return [
    'filefield_widget' => 'file_generic',
  ];
}