Created
February 18, 2019 20:27
-
-
Save weaver299/3ce48e1b726415026f6d1ca24901356c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment