function FileField::getFieldWidgetMap

Overrides FieldPluginBase::getFieldWidgetMap

1 method overrides FileField::getFieldWidgetMap()
FileField::getFieldWidgetMap in core/modules/file/src/Plugin/migrate/field/d7/FileField.php
Get a map between D6 and D8 widgets for this field type.

File

core/modules/file/src/Plugin/migrate/field/d6/FileField.php, line 25

Class

FileField
MigrateField Plugin for Drupal 6 file fields.

Namespace

Drupal\file\Plugin\migrate\field\d6

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.