public function VideoItem::getFieldWidgetMap in Video 8
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/cckfield/VideoItem.php \Drupal\video\Plugin\migrate\cckfield\VideoItem::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 FieldPluginBase::getFieldWidgetMap
File
- src/
Plugin/ migrate/ cckfield/ VideoItem.php, line 19
Class
- VideoItem
- Plugin annotation @MigrateCckField( id = "video", core = {7} )
Namespace
Drupal\video\Plugin\migrate\cckfieldCode
public function getFieldWidgetMap() {
return [
'video_upload' => 'video_upload',
];
}