Skip to content

Commit

Permalink
Add promote to home page field.
Browse files Browse the repository at this point in the history
  • Loading branch information
LOBsTerr committed Feb 10, 2021
1 parent 11e423f commit 7b9f3ab
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ source:
label: 'Docsroom documents IDs'
selector: 'enclosure[@external_app="DocsRoom"]/@external_id'

- name: promote_to_homepage
label: 'Promote to homepage'
selector: 'infsonewsroom:pubHighlight/text()'

process:

Expand Down Expand Up @@ -349,6 +352,10 @@ process:
plugin: default_value
default_value: 'en'

promote:
plugin: get
source: promote_to_homepage

destination:
plugin: entity:node

Expand Down

0 comments on commit 7b9f3ab

Please sign in to comment.