Skip to content

Commit

Permalink
feat(#63): add a-frame paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Apr 26, 2022
1 parent 0f2f007 commit 16bdba9
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 34684a50-774c-44ed-90e3-eb639c73f130
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.aframe_scene.field_scene
- paragraphs.paragraphs_type.aframe_scene
id: paragraph.aframe_scene.default
targetEntityType: paragraph
bundle: aframe_scene
mode: default
content:
field_scene:
type: string_textarea
weight: 0
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 3008e770-c8dd-4b1d-aa22-67d077cadf11
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.aframe_scene.field_scene
- paragraphs.paragraphs_type.aframe_scene
id: paragraph.aframe_scene.default
targetEntityType: paragraph
bundle: aframe_scene
mode: default
content:
field_scene:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden: { }
5 changes: 5 additions & 0 deletions drupal/config/sync/field.field.node.article.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.storage.node.field_content
- node.type.article
- paragraphs.paragraphs_type.aframe_scene
- paragraphs.paragraphs_type.card
- paragraphs.paragraphs_type.card_group
- paragraphs.paragraphs_type.code
Expand Down Expand Up @@ -37,10 +38,14 @@ settings:
link: link
media: media
section: section
aframe_scene: aframe_scene
code: code
repository: repository
negate: 0
target_bundles_drag_drop:
aframe_scene:
weight: 14
enabled: true
card:
weight: -20
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: ac91423c-1a9e-468f-ac5d-c774bf4c903c
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_scene
- paragraphs.paragraphs_type.aframe_scene
id: paragraph.aframe_scene.field_scene
field_name: field_scene
entity_type: paragraph
bundle: aframe_scene
label: Scene
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
19 changes: 19 additions & 0 deletions drupal/config/sync/field.storage.paragraph.field_scene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: c551adf4-42eb-4d25-9bb9-e18b7e0a937f
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_scene
field_name: field_scene
entity_type: paragraph
type: string_long
settings:
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
16 changes: 16 additions & 0 deletions drupal/config/sync/paragraphs.paragraphs_type.aframe_scene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
uuid: 62af2237-8766-427e-bef5-c0cd6d893dd1
langcode: en
status: true
dependencies:
module:
- paragraphs_ee
third_party_settings:
paragraphs_ee:
paragraphs_categories:
basics: basics
id: aframe_scene
label: 'A-Frame scene'
icon_uuid: null
icon_default: null
description: 'An A-Frame VR scene.'
behavior_plugins: { }
1 change: 1 addition & 0 deletions drupal/config/sync/user.role.anonymous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ permissions:
- 'view druxt_settings config page entity'
- 'view linky entities'
- 'view media'
- 'view paragraph content aframe_scene'
- 'view paragraph content card'
- 'view paragraph content card_group'
- 'view paragraph content code'
Expand Down
1 change: 1 addition & 0 deletions drupal/config/sync/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:
- 'access secondary toolbar'
- 'use exclude node title'
- 'view media'
- 'view paragraph content aframe_scene'
- 'view paragraph content card'
- 'view paragraph content card_group'
- 'view paragraph content code'
Expand Down
3 changes: 3 additions & 0 deletions drupal/config/sync/user.role.author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ permissions:
- 'create event content'
- 'create image media'
- 'create page content'
- 'create paragraph content aframe_scene'
- 'create paragraph content card'
- 'create paragraph content card_group'
- 'create paragraph content code'
Expand All @@ -63,6 +64,7 @@ permissions:
- 'create paragraph content text_markdown'
- 'create terms in article_category'
- 'create video media'
- 'delete paragraph content aframe_scene'
- 'delete paragraph content card'
- 'delete paragraph content card_group'
- 'delete paragraph content code'
Expand Down Expand Up @@ -94,6 +96,7 @@ permissions:
- 'translate event node'
- 'translate page node'
- 'update content translations'
- 'update paragraph content aframe_scene'
- 'update paragraph content card'
- 'update paragraph content card_group'
- 'update paragraph content code'
Expand Down

0 comments on commit 16bdba9

Please sign in to comment.