The default value of "field_publication_date" is now the created date

In the issueindex and node story migrations
This commit is contained in:
David Valdez 2019-09-30 14:59:17 -05:00
parent e86c9d99ec
commit b9d4c3c0a4
3 changed files with 35 additions and 2 deletions

View file

@ -165,9 +165,11 @@ process:
# process:
# target_id: tid
field_publication_date:
- plugin: publication_date_default
source: field_publication_date
method: process
-
plugin: sub_process
source: created
process:
value:
plugin: format_date

View file

@ -213,8 +213,11 @@ process:
# target_id: tid
field_publication_date:
-
plugin: sub_process
plugin: publication_date_default
source: field_publication_date
method: process
-
plugin: sub_process
process:
value:
plugin: format_date