Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id: media_youtube
- label: Migrate Youtube Videos
- description: Migrate Youtube Videos
- migration_group: media
- migration_tags:
- - Custom
- source:
- plugin: file_entity
- # types:
- # - video
- scheme:
- - "youtube"
- constants:
- bundle: 'video'
- process:
- mid: fid
- bundle: 'constants/bundle'
- langcode:
- plugin: default_value
- source: language
- default_value: "und"
- name: filename
- uid:
- -
- plugin: skip_on_empty
- method: process
- source: uid
- -
- plugin: migration_lookup
- migration: users
- status: status
- created: created
- changed: changed
- field_media_video_embed_field:
- plugin: youtube
- source: rui
- destination:
- plugin: entity:media
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement