Skip to content

Commit

Permalink
feat(decouple): Merge remote-tracking branch 'open_demo_ninterstitial…
Browse files Browse the repository at this point in the history
…/main' into main
  • Loading branch information
podarok committed Jun 30, 2021
2 parents 46c2304 + e681dbe commit 96d3015
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
langcode: en
status: true
dependencies:
enforced:
module:
- openy_demo_ninterstitial
id: openy_demo_node_interstitial_page
migration_tags:
- openy_complete_installation
migration_group: openy_demo_ninterstitial
label: 'Create demo interstitial page nodes'
source:
plugin: embedded_data
data_rows:
-
id: interstitial_page
title: 'Interstitial Content'
alias: '/interstitial_page'
body: >
<p>Some text for popup.&nbsp;</p>
<p>Lorem ipsum <strong>dolor</strong><strong> </strong><strong>sit</strong><strong> </strong><strong>amet</strong><strong>,
</strong><strong>consectetur</strong><strong> </strong><strong>adipiscing</strong><strong> </strong><strong>elit</strong>.
Aliquam et sollicitudin felis, non volutpat dolor.</p>
<p>Cras fermentum, nibh at ultrices luctus, <strong>erat odio faucibus tortor</strong>, sed egestas enim magna et nibh.</p>
<p>Nam feugiat odio ac felis imperdiet aliquet. Donec pretium pretium velit a volutpat. Vivamus maximus eros eget
libero sodales rhoncus. Phasellus porta ligula sed scelerisque blandit. Sed egestas eget nunc vitae congue. Proin bibendum gravida ultricies.</p>
dialog_title: 'Terms and Conditions'
show_times: 3
close_time: 5
close_interaction: 1
ids:
id:
type: string
process:
langcode:
plugin: default_value
source: language
default_value: en
status:
plugin: default_value
default_value: 1
uid:
plugin: default_value
default_value: 1
path/pathauto:
plugin: default_value
default_value: 0
title: title
path/alias: alias
body/value: body
body/format:
plugin: default_value
default_value: full_html
field_dialog_title: dialog_title
field_show_times: show_times
field_close_time: close_time
field_close_interaction: close_interaction
destination:
plugin: 'entity:node'
default_bundle: interstitial_page
migration_dependencies:
required: { }
optional: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: openy_demo_ninterstitial
label: 'Interstitial page'
description: 'Imports interstitial demo content.'
module: openy_demo_ninterstitial
11 changes: 11 additions & 0 deletions openy_demo_ninterstitial/openy_demo_ninterstitial.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Open Y Demo Node Interstitial Page'
description: Stores migrations to import demo interstitial nodes.
type: module
core_version_requirement: ^8 || ^9
version: 8.x-1.0-rc1
package: Open Y (Experimental)
dependencies:
- drupal:migrate
- migrate_plus:migrate_plus
- migrate_tools:migrate_tools
- openy_node_interstitial:openy_node_interstitial

0 comments on commit 96d3015

Please sign in to comment.