function FileField::getFieldWidgetMap

Same name in this branch
  1. 10 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
Same name in other branches
  1. 9 core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
  2. 9 core/modules/file/src/Plugin/migrate/field/d7/FileField.php \Drupal\file\Plugin\migrate\field\d7\FileField::getFieldWidgetMap()
  3. 8.9.x core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
  4. 8.9.x core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php \Drupal\file\Plugin\migrate\cckfield\d6\FileField::getFieldWidgetMap()
  5. 8.9.x core/modules/file/src/Plugin/migrate/cckfield/d7/FileField.php \Drupal\file\Plugin\migrate\cckfield\d7\FileField::getFieldWidgetMap()
  6. 11.x core/modules/file/src/Plugin/migrate/field/d6/FileField.php \Drupal\file\Plugin\migrate\field\d6\FileField::getFieldWidgetMap()
  7. 11.x core/modules/file/src/Plugin/migrate/field/d7/FileField.php \Drupal\file\Plugin\migrate\field\d7\FileField::getFieldWidgetMap()

Overrides FileField::getFieldWidgetMap

File

core/modules/file/src/Plugin/migrate/field/d7/FileField.php, line 24

Class

FileField
MigrateField Plugin for Drupal 7 file fields.

Namespace

Drupal\file\Plugin\migrate\field\d7

Code

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

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