Add a views reference paragraph type
This commit is contained in:
parent
db8322f5dc
commit
52ab80a5ad
5 changed files with 146 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
||||||
|
uuid: 58414ad1-0d71-444b-900c-890745e2d3d9
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.view.field_view_reference
|
||||||
|
- paragraphs.paragraphs_type.view
|
||||||
|
module:
|
||||||
|
- viewsreference
|
||||||
|
id: paragraph.view.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: view
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_view_reference:
|
||||||
|
weight: 1
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
size: '60'
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: viewsreference_autocomplete
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
status: true
|
||||||
|
uid: true
|
|
@ -0,0 +1,28 @@
|
||||||
|
uuid: 01e9439c-9802-4b6d-9c59-12ea050fb525
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.view.field_view_reference
|
||||||
|
- paragraphs.paragraphs_type.view
|
||||||
|
module:
|
||||||
|
- viewsreference
|
||||||
|
id: paragraph.view.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: view
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_view_reference:
|
||||||
|
weight: 1
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
plugin_types:
|
||||||
|
block: block
|
||||||
|
page: page
|
||||||
|
default: 0
|
||||||
|
feed: 0
|
||||||
|
embed: 0
|
||||||
|
third_party_settings: { }
|
||||||
|
type: viewsreference_formatter
|
||||||
|
region: content
|
||||||
|
hidden: { }
|
|
@ -0,0 +1,61 @@
|
||||||
|
uuid: 2047c61c-bd55-4463-8e4b-57f464190f1c
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_view_reference
|
||||||
|
- paragraphs.paragraphs_type.view
|
||||||
|
module:
|
||||||
|
- viewsreference
|
||||||
|
id: paragraph.view.field_view_reference
|
||||||
|
field_name: field_view_reference
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: view
|
||||||
|
label: View
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:view'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles: null
|
||||||
|
auto_create: 0
|
||||||
|
plugin_types:
|
||||||
|
block: block
|
||||||
|
page: page
|
||||||
|
embed: embed
|
||||||
|
default: 0
|
||||||
|
feed: 0
|
||||||
|
preselect_views:
|
||||||
|
action: 0
|
||||||
|
article: 0
|
||||||
|
block_content: 0
|
||||||
|
blog: 0
|
||||||
|
campaign: 0
|
||||||
|
case_study: 0
|
||||||
|
comment: 0
|
||||||
|
comments_recent: 0
|
||||||
|
content: 0
|
||||||
|
content_recent: 0
|
||||||
|
event: 0
|
||||||
|
files: 0
|
||||||
|
frontpage: 0
|
||||||
|
group: 0
|
||||||
|
group_content: 0
|
||||||
|
group_members: 0
|
||||||
|
group_nodes: 0
|
||||||
|
people: 0
|
||||||
|
redirect: 0
|
||||||
|
redirect_404: 0
|
||||||
|
related_content: 0
|
||||||
|
resource: 0
|
||||||
|
search: 0
|
||||||
|
taxonomy_term: 0
|
||||||
|
user_admin_people: 0
|
||||||
|
watchdog: 0
|
||||||
|
webform_submissions: 0
|
||||||
|
who_s_new: 0
|
||||||
|
who_s_online: 0
|
||||||
|
field_type: viewsreference
|
21
config/sync/field.storage.paragraph.field_view_reference.yml
Normal file
21
config/sync/field.storage.paragraph.field_view_reference.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: bbefa52b-e218-4684-a896-06b96e50355c
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- paragraphs
|
||||||
|
- views
|
||||||
|
- viewsreference
|
||||||
|
id: paragraph.field_view_reference
|
||||||
|
field_name: field_view_reference
|
||||||
|
entity_type: paragraph
|
||||||
|
type: viewsreference
|
||||||
|
settings:
|
||||||
|
target_type: view
|
||||||
|
module: viewsreference
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
9
config/sync/paragraphs.paragraphs_type.view.yml
Normal file
9
config/sync/paragraphs.paragraphs_type.view.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uuid: fa75b78a-c5b6-4474-959d-9adb4b38b911
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: view
|
||||||
|
label: View
|
||||||
|
icon_uuid: null
|
||||||
|
description: ''
|
||||||
|
behavior_plugins: { }
|
Loading…
Reference in a new issue