Add the publication date and the subtitle field in the story migration

This commit is contained in:
David Valdez 2019-07-31 20:30:58 -05:00
parent f660ec1c61
commit 5c2c1c82d0

View file

@ -175,10 +175,10 @@ process:
# source: field_issue
# process:
# target_id: tid
# field_subtitle:
# -
# plugin: get
# source: field_subtitle
field_subtitle:
-
plugin: get
source: field_subtitle
field_image:
-
plugin: sub_process
@ -195,16 +195,16 @@ process:
# source: field_geo_volume_3
# process:
# target_id: tid
# field_publication_date:
# -
# plugin: sub_process
# source: field_publication_date
# process:
# value:
# plugin: format_date
# from_format: 'Y-m-d\TH:i:s'
# to_format: 'Y-m-d\TH:i:s'
# source: value
field_publication_date:
-
plugin: sub_process
source: field_publication_date
process:
value:
plugin: format_date
from_format: 'Y-m-d\TH:i:s'
to_format: 'Y-m-d'
source: value
path/alias: source_path
path/pathauto:
plugin: default_value