Enable drutopia event module
This commit is contained in:
parent
c73fb341cf
commit
ecaf8dae29
37 changed files with 2314 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
uuid: 033c7acf-ea8b-4867-ab0c-6814b1f2c0f6
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- system
|
||||
_core:
|
||||
default_config_hash: pN6euxCSlvPNMkCwHuSakyNF5XA89hCR9a9QabYqKpA
|
||||
id: event_listing
|
||||
label: 'Event Listing'
|
||||
logic: and
|
||||
conditions:
|
||||
1e04f2af-09a5-4978-83f4-0c5b0cefbfc4:
|
||||
id: request_path
|
||||
pages: /events
|
||||
negate: false
|
||||
context_mapping: { }
|
||||
uuid: 1e04f2af-09a5-4978-83f4-0c5b0cefbfc4
|
||||
allow_other_conditions: false
|
|
@ -32,6 +32,108 @@ items:
|
|||
show_local_tasks: false
|
||||
_core:
|
||||
default_config_hash: WgdZsrd_5w9jlmcHV4R9dD2tG9OZEkYo4I_O8h7Gq8Q
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.article_topics_facet
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.article_listing
|
||||
- facets.facet.article_topics
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- facets
|
||||
theme:
|
||||
- octavia
|
||||
id: article_topics_facet
|
||||
theme: octavia
|
||||
region: sidebar_first
|
||||
weight: 2
|
||||
provider: null
|
||||
plugin: 'facet_block:article_topics'
|
||||
settings:
|
||||
id: 'facet_block:article_topics'
|
||||
label: Topics
|
||||
label_display: visible
|
||||
provider: facets
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: article_listing
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: v164FV9CvcGTwhKHd7fhJelxzlyqZxCXTnmVMllnZjw
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.article_type_facet
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.article_listing
|
||||
- facets.facet.article_type
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- facets
|
||||
theme:
|
||||
- octavia
|
||||
id: article_type_facet
|
||||
theme: octavia
|
||||
region: sidebar_first
|
||||
weight: 4
|
||||
provider: null
|
||||
plugin: 'facet_block:article_type'
|
||||
settings:
|
||||
id: 'facet_block:article_type'
|
||||
label: Type
|
||||
label_display: visible
|
||||
provider: facets
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: article_listing
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: BfeDx7p2tlNt4iLO7JkzSpAiU659fCrxtt5tTdbtklc
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.blog_topics_facet
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.blog_listing
|
||||
- facets.facet.blog_topics
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- facets
|
||||
theme:
|
||||
- octavia
|
||||
id: blog_topics_facet
|
||||
theme: octavia
|
||||
region: sidebar_first
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: 'facet_block:blog_topics'
|
||||
settings:
|
||||
id: 'facet_block:blog_topics'
|
||||
label: Topics
|
||||
provider: facets
|
||||
label_display: visible
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: blog_listing
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: AYCtK59wNDgCQS6xsRftAyU-ASRG_o_rnnpdZ_unsPI
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.footer_about_us
|
||||
|
@ -492,6 +594,118 @@ items:
|
|||
visibility: { }
|
||||
_core:
|
||||
default_config_hash: DFNpzORbnhxQUsvcVxcl4L7fTpqQdlhaA6nzwTUvT2o
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.resource_topics_facet
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.resource_listing
|
||||
- facets.facet.resource_topics
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- facets
|
||||
theme:
|
||||
- octavia
|
||||
id: resource_topics_facet
|
||||
theme: octavia
|
||||
region: sidebar_first
|
||||
weight: 2
|
||||
provider: null
|
||||
plugin: 'facet_block:resource_topics'
|
||||
settings:
|
||||
id: 'facet_block:resource_topics'
|
||||
label: Topics
|
||||
provider: facets
|
||||
label_display: visible
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: resource_listing
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: uwcCwoWPVeb7Sw0Uh-9L34NROH0VWZBBp8bnl3BtkAg
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.resource_type_facet
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.resource_listing
|
||||
- facets.facet.resource_type
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- facets
|
||||
theme:
|
||||
- octavia
|
||||
id: resource_type_facet
|
||||
theme: octavia
|
||||
region: sidebar_first
|
||||
weight: 4
|
||||
provider: null
|
||||
plugin: 'facet_block:resource_type'
|
||||
settings:
|
||||
id: 'facet_block:resource_type'
|
||||
label: Type
|
||||
provider: facets
|
||||
label_display: visible
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: resource_listing
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: CPjM93pYWaZW1BobHIdZvB3BKMPJLJCnnbIBS1fD_84
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.views_block__content_by_author_block_author
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- views.view.content_by_author
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- ctools
|
||||
- views
|
||||
theme:
|
||||
- octavia
|
||||
id: views_block__content_by_author_block_author
|
||||
theme: octavia
|
||||
region: content
|
||||
weight: 12
|
||||
provider: null
|
||||
plugin: 'views_block:content_by_author-block_author'
|
||||
settings:
|
||||
id: 'views_block:content_by_author-block_author'
|
||||
label: ''
|
||||
provider: views
|
||||
label_display: visible
|
||||
views_label: ''
|
||||
items_per_page: none
|
||||
context_mapping: { }
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: ''
|
||||
context_mapping: { }
|
||||
'entity_bundle:node':
|
||||
id: 'entity_bundle:node'
|
||||
bundles:
|
||||
people: people
|
||||
negate: false
|
||||
context_mapping:
|
||||
node: '@node.node_route_context:node'
|
||||
_core:
|
||||
default_config_hash: BxPxH12ZvliymF4odGgh1w2UFjbgmOjLAe2xsjDcim8
|
||||
-
|
||||
collection: ''
|
||||
name: editor.editor.basic_html
|
||||
|
|
|
@ -4294,6 +4294,8 @@ items:
|
|||
- 'edit own blog content'
|
||||
- 'create resource content'
|
||||
- 'edit own resource content'
|
||||
- 'create event content'
|
||||
- 'edit own event content'
|
||||
-
|
||||
collection: ''
|
||||
name: user.role.editor
|
||||
|
@ -4323,6 +4325,8 @@ items:
|
|||
- 'edit any page content'
|
||||
- 'create resource content'
|
||||
- 'edit any resource content'
|
||||
- 'create event content'
|
||||
- 'edit any event content'
|
||||
-
|
||||
collection: ''
|
||||
name: user.role.manager
|
||||
|
@ -4352,3 +4356,5 @@ items:
|
|||
- 'edit any page content'
|
||||
- 'create resource content'
|
||||
- 'edit any resource content'
|
||||
- 'create event content'
|
||||
- 'edit any event content'
|
||||
|
|
|
@ -226,6 +226,78 @@ items:
|
|||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: l2bsxK18NjDhsgZCw3TRnHkvHQeHTmWGFggDnzMmU3k
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.views_block__blog_block_promoted
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.home_page
|
||||
- views.view.blog
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- views
|
||||
theme:
|
||||
- octavia
|
||||
id: views_block__blog_block_promoted
|
||||
theme: octavia
|
||||
region: content
|
||||
weight: 6
|
||||
provider: null
|
||||
plugin: 'views_block:blog-block_promoted'
|
||||
settings:
|
||||
id: 'views_block:blog-block_promoted'
|
||||
label: ''
|
||||
provider: views
|
||||
label_display: visible
|
||||
views_label: ''
|
||||
items_per_page: none
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: home_page
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: 9dv0gc7PE-q9ktWJGwVlxDH5_2fOagzHUqCi4KRO9AY
|
||||
-
|
||||
collection: ''
|
||||
name: block.block.views_block__resource_block_promoted
|
||||
data:
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_visibility_groups.block_visibility_group.home_page
|
||||
- views.view.resource
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- views
|
||||
theme:
|
||||
- octavia
|
||||
id: views_block__resource_block_promoted
|
||||
theme: octavia
|
||||
region: content
|
||||
weight: 5
|
||||
provider: null
|
||||
plugin: 'views_block:resource-block_promoted'
|
||||
settings:
|
||||
id: 'views_block:resource-block_promoted'
|
||||
label: ''
|
||||
provider: views
|
||||
label_display: visible
|
||||
views_label: ''
|
||||
items_per_page: none
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: home_page
|
||||
context_mapping: { }
|
||||
_core:
|
||||
default_config_hash: DI69rTS0Bj5-RjyySaiyHvjBZH04xxsO7tSJ0CVfVdU
|
||||
-
|
||||
collection: ''
|
||||
name: block_visibility_groups.block_visibility_group.home_page
|
||||
|
|
24
config/core.base_field_override.node.event.promote.yml
Normal file
24
config/core.base_field_override.node.event.promote.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: 1d0bda3e-d64c-4860-9f5a-108a3daea4f9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.event
|
||||
_core:
|
||||
default_config_hash: 0ZwB8TKGr6DFtyqXO9EF9_LotEKyybDeSPoSglVLWQo
|
||||
id: node.event.promote
|
||||
field_name: promote
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Promoted to front page'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value:
|
||||
-
|
||||
value: 1
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
on_label: 'On'
|
||||
off_label: 'Off'
|
||||
field_type: boolean
|
157
config/core.entity_form_display.node.event.default.yml
Normal file
157
config/core.entity_form_display.node.event.default.yml
Normal file
|
@ -0,0 +1,157 @@
|
|||
uuid: 6b6a02b8-ecf7-4859-8557-dbe33983303d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
module:
|
||||
- datetime_range
|
||||
- media_library_media_modify
|
||||
- metatag
|
||||
- paragraphs
|
||||
- path
|
||||
- text
|
||||
_core:
|
||||
default_config_hash: ESFof8o0psd4Qk9qUm5CSqtqOaQu45sRq8Qbuso6O0I
|
||||
id: node.event.default
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 9
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_body_paragraph:
|
||||
type: entity_reference_paragraphs
|
||||
weight: 7
|
||||
region: content
|
||||
settings:
|
||||
title: Paragraph
|
||||
title_plural: Paragraphs
|
||||
edit_mode: open
|
||||
add_mode: button
|
||||
form_display_mode: default
|
||||
default_paragraph_type: text
|
||||
third_party_settings: { }
|
||||
field_event_date:
|
||||
type: daterange_default
|
||||
weight: 1
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_event_type:
|
||||
type: options_select
|
||||
weight: 2
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_media_image:
|
||||
type: media_library_media_modify_widget
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
media_types: { }
|
||||
form_mode: main
|
||||
check_selected: false
|
||||
replace_checkbox_by_order_indicator: false
|
||||
multi_edit_on_create: false
|
||||
no_edit_on_create: false
|
||||
third_party_settings: { }
|
||||
field_meta_tags:
|
||||
type: metatag_firehose
|
||||
weight: 13
|
||||
region: content
|
||||
settings:
|
||||
sidebar: true
|
||||
use_details: true
|
||||
third_party_settings: { }
|
||||
field_summary:
|
||||
type: text_textarea
|
||||
weight: 6
|
||||
region: content
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_tags:
|
||||
type: entity_reference_autocomplete_tags
|
||||
weight: 5
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_topics:
|
||||
type: options_select
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 12
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
promote:
|
||||
type: boolean_checkbox
|
||||
weight: 10
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 14
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
sticky:
|
||||
type: boolean_checkbox
|
||||
weight: 11
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
title:
|
||||
type: string_textfield
|
||||
weight: 0
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 8
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
url_redirects:
|
||||
weight: 15
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
body: true
|
||||
field_image: true
|
55
config/core.entity_view_display.node.event.card.yml
Normal file
55
config/core.entity_view_display.node.event.card.yml
Normal file
|
@ -0,0 +1,55 @@
|
|||
uuid: b8f6fc9e-71a7-44f9-91e6-16acef746f31
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.card
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
- responsive_image.styles.drutopia_card
|
||||
module:
|
||||
- media_responsive_thumbnail
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: FQvmSb8MYitVXRoSA4jv2-Y0zKLVnkoqvy3WpIB0jWc
|
||||
id: node.event.card
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: card
|
||||
content:
|
||||
field_media_image:
|
||||
type: media_responsive_thumbnail
|
||||
label: hidden
|
||||
settings:
|
||||
responsive_image_style: drutopia_card
|
||||
image_link: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
body: true
|
||||
field_body_paragraph: true
|
||||
field_event_date: true
|
||||
field_event_type: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
field_tags: true
|
||||
field_topics: true
|
||||
search_api_excerpt: true
|
67
config/core.entity_view_display.node.event.default.yml
Normal file
67
config/core.entity_view_display.node.event.default.yml
Normal file
|
@ -0,0 +1,67 @@
|
|||
uuid: 0419dd7e-2373-46c1-92c3-fbad2e208ca1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
module:
|
||||
- ds
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_1col
|
||||
library: null
|
||||
disable_css: false
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
ds_content: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
label: ''
|
||||
regions:
|
||||
ds_content:
|
||||
- field_media_image
|
||||
_core:
|
||||
default_config_hash: PvDK8R3ytKvC7YIWdKKWT6kofUJ-pa0emW_9773rKKc
|
||||
id: node.event.default
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: default
|
||||
content:
|
||||
field_media_image:
|
||||
type: entity_reference_entity_view
|
||||
label: hidden
|
||||
settings:
|
||||
view_mode: default
|
||||
link: false
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: ds_content
|
||||
hidden:
|
||||
body: true
|
||||
field_body_paragraph: true
|
||||
field_event_date: true
|
||||
field_event_type: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
field_tags: true
|
||||
field_topics: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
128
config/core.entity_view_display.node.event.full.yml
Normal file
128
config/core.entity_view_display.node.event.full.yml
Normal file
|
@ -0,0 +1,128 @@
|
|||
uuid: 5b30f387-ff44-4f6f-99f4-4af06e0cf0de
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.full
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
- responsive_image.styles.drutopia_main
|
||||
module:
|
||||
- datetime_range
|
||||
- ds
|
||||
- entity_reference_revisions
|
||||
- media_responsive_thumbnail
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_3col_stacked
|
||||
library: ds/ds_3col_stacked
|
||||
disable_css: true
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
header: div
|
||||
left: div
|
||||
middle: div
|
||||
right: div
|
||||
footer: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
label: ''
|
||||
regions:
|
||||
header:
|
||||
- field_media_image
|
||||
left:
|
||||
- field_event_date
|
||||
- field_topics
|
||||
middle:
|
||||
- field_body_paragraph
|
||||
- field_event_type
|
||||
- field_tags
|
||||
- links
|
||||
_core:
|
||||
default_config_hash: P3A9FG1d56zKma12QP0-dAXPZDQya-Jtz9CBP0O4KOI
|
||||
id: node.event.full
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: full
|
||||
content:
|
||||
field_body_paragraph:
|
||||
type: entity_reference_revisions_entity_view
|
||||
label: hidden
|
||||
settings:
|
||||
view_mode: default
|
||||
link: ''
|
||||
third_party_settings: { }
|
||||
weight: 3
|
||||
region: middle
|
||||
field_event_date:
|
||||
type: daterange_default
|
||||
label: above
|
||||
settings:
|
||||
timezone_override: ''
|
||||
format_type: long
|
||||
separator: '-'
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: left
|
||||
field_event_type:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 4
|
||||
region: middle
|
||||
field_media_image:
|
||||
type: media_responsive_thumbnail
|
||||
label: hidden
|
||||
settings:
|
||||
responsive_image_style: drutopia_main
|
||||
image_link: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: header
|
||||
field_tags:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: middle
|
||||
field_topics:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
region: left
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 6
|
||||
region: middle
|
||||
hidden:
|
||||
body: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
search_api_excerpt: true
|
80
config/core.entity_view_display.node.event.micro.yml
Normal file
80
config/core.entity_view_display.node.event.micro.yml
Normal file
|
@ -0,0 +1,80 @@
|
|||
uuid: a7b7961b-6740-4f74-9570-aff099ecce99
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.micro
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
module:
|
||||
- datetime_range
|
||||
- ds
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_1col
|
||||
library: null
|
||||
disable_css: false
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
ds_content: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
regions:
|
||||
ds_content:
|
||||
- node_title
|
||||
- field_event_date
|
||||
fields:
|
||||
node_title:
|
||||
plugin_id: node_title
|
||||
weight: 0
|
||||
label: hidden
|
||||
formatter: default
|
||||
settings:
|
||||
link: true
|
||||
wrapper: h3
|
||||
class: ''
|
||||
_core:
|
||||
default_config_hash: 0Ce0KP9Fvc9R3Edpr2pV-VKizs0wPYf_tUPnM-Km-4Q
|
||||
id: node.event.micro
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: micro
|
||||
content:
|
||||
field_event_date:
|
||||
type: daterange_default
|
||||
label: hidden
|
||||
settings:
|
||||
timezone_override: ''
|
||||
format_type: medium
|
||||
separator: '-'
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: ds_content
|
||||
hidden:
|
||||
body: true
|
||||
field_body_paragraph: true
|
||||
field_event_type: true
|
||||
field_image: true
|
||||
field_media_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
field_tags: true
|
||||
field_topics: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
116
config/core.entity_view_display.node.event.search_index.yml
Normal file
116
config/core.entity_view_display.node.event.search_index.yml
Normal file
|
@ -0,0 +1,116 @@
|
|||
uuid: 0c712f44-cad1-4af4-a236-3e242436741a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.search_index
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
module:
|
||||
- datetime_range
|
||||
- ds
|
||||
- entity_reference_revisions
|
||||
- media
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_1col
|
||||
library: null
|
||||
disable_css: false
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
ds_content: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
label: ''
|
||||
regions:
|
||||
ds_content:
|
||||
- field_media_image
|
||||
- field_event_date
|
||||
- field_body_paragraph
|
||||
- field_event_type
|
||||
- field_topics
|
||||
- field_tags
|
||||
_core:
|
||||
default_config_hash: R4pfSBQaWL9a86BhPVrhCJsVZjYhdx0X6WYffk2oe6k
|
||||
id: node.event.search_index
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: search_index
|
||||
content:
|
||||
field_body_paragraph:
|
||||
type: entity_reference_revisions_entity_view
|
||||
label: hidden
|
||||
settings:
|
||||
view_mode: default
|
||||
link: ''
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
region: ds_content
|
||||
field_event_date:
|
||||
type: daterange_custom
|
||||
label: hidden
|
||||
settings:
|
||||
timezone_override: ''
|
||||
date_format: 'Y-m-d\TH:i:s'
|
||||
separator: '-'
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: ds_content
|
||||
field_event_type:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 3
|
||||
region: ds_content
|
||||
field_media_image:
|
||||
type: media_thumbnail
|
||||
label: hidden
|
||||
settings:
|
||||
image_link: ''
|
||||
image_style: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: ds_content
|
||||
field_tags:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: ds_content
|
||||
field_topics:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 4
|
||||
region: ds_content
|
||||
hidden:
|
||||
body: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
111
config/core.entity_view_display.node.event.simple_card.yml
Normal file
111
config/core.entity_view_display.node.event.simple_card.yml
Normal file
|
@ -0,0 +1,111 @@
|
|||
uuid: 791e3e17-6bbc-488a-b14f-3c21677d3ddd
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.simple_card
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
- responsive_image.styles.drutopia_card
|
||||
module:
|
||||
- ds
|
||||
- field_group
|
||||
- media_responsive_thumbnail
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_1col
|
||||
library: null
|
||||
disable_css: false
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
ds_content: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
label: ''
|
||||
regions:
|
||||
ds_content:
|
||||
- field_media_image
|
||||
- group_card_content
|
||||
- 'bundle_field:node'
|
||||
- node_title
|
||||
fields:
|
||||
node_title:
|
||||
plugin_id: node_title
|
||||
weight: 3
|
||||
label: hidden
|
||||
formatter: default
|
||||
settings:
|
||||
link: true
|
||||
wrapper: h2
|
||||
class: ''
|
||||
exclude_node_title: '1'
|
||||
'bundle_field:node':
|
||||
plugin_id: 'bundle_field:node'
|
||||
weight: 2
|
||||
label: hidden
|
||||
formatter: default
|
||||
field_group:
|
||||
group_card_content:
|
||||
children:
|
||||
- 'bundle_field:node'
|
||||
- node_title
|
||||
label: 'Card content'
|
||||
parent_name: ''
|
||||
region: ds_content
|
||||
weight: 1
|
||||
format_type: html_element
|
||||
format_settings:
|
||||
classes: ''
|
||||
id: ''
|
||||
element: div
|
||||
show_label: false
|
||||
label_element: h3
|
||||
attributes: ''
|
||||
effect: none
|
||||
speed: fast
|
||||
_core:
|
||||
default_config_hash: 6HbLEWKeWA6wHc9wLwxt3HjKAHNLhjbpqdmjeAzk-x8
|
||||
id: node.event.simple_card
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: simple_card
|
||||
content:
|
||||
field_media_image:
|
||||
type: media_responsive_thumbnail
|
||||
label: hidden
|
||||
settings:
|
||||
responsive_image_style: drutopia_card
|
||||
image_link: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: ds_content
|
||||
hidden:
|
||||
body: true
|
||||
field_body_paragraph: true
|
||||
field_event_date: true
|
||||
field_event_type: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_summary: true
|
||||
field_tags: true
|
||||
field_topics: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
120
config/core.entity_view_display.node.event.teaser.yml
Normal file
120
config/core.entity_view_display.node.event.teaser.yml
Normal file
|
@ -0,0 +1,120 @@
|
|||
uuid: 1f19f924-6956-4ded-bef3-465a53d3b28f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.event.body
|
||||
- field.field.node.event.field_body_paragraph
|
||||
- field.field.node.event.field_event_date
|
||||
- field.field.node.event.field_event_type
|
||||
- field.field.node.event.field_image
|
||||
- field.field.node.event.field_media_image
|
||||
- field.field.node.event.field_meta_tags
|
||||
- field.field.node.event.field_summary
|
||||
- field.field.node.event.field_tags
|
||||
- field.field.node.event.field_topics
|
||||
- node.type.event
|
||||
- responsive_image.styles.drutopia_card
|
||||
module:
|
||||
- datetime_range
|
||||
- ds
|
||||
- media_responsive_thumbnail
|
||||
- text
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_2col
|
||||
library: ds/ds_2col
|
||||
disable_css: true
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
classes:
|
||||
layout_class: { }
|
||||
wrappers:
|
||||
left: div
|
||||
right: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
label: ''
|
||||
regions:
|
||||
left:
|
||||
- field_media_image
|
||||
right:
|
||||
- node_title
|
||||
- field_event_date
|
||||
- field_summary
|
||||
- field_event_type
|
||||
- field_topics
|
||||
fields:
|
||||
node_title:
|
||||
plugin_id: node_title
|
||||
weight: 1
|
||||
label: hidden
|
||||
formatter: default
|
||||
settings:
|
||||
link: true
|
||||
wrapper: h2
|
||||
class: ''
|
||||
_core:
|
||||
default_config_hash: YhrNBAVcsKtcQtjhiEhUerLeBjYr22YtPnch691Afxw
|
||||
id: node.event.teaser
|
||||
targetEntityType: node
|
||||
bundle: event
|
||||
mode: teaser
|
||||
content:
|
||||
field_event_date:
|
||||
type: daterange_default
|
||||
label: hidden
|
||||
settings:
|
||||
timezone_override: ''
|
||||
format_type: medium
|
||||
separator: '-'
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
region: right
|
||||
field_event_type:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 4
|
||||
region: right
|
||||
field_media_image:
|
||||
type: media_responsive_thumbnail
|
||||
label: hidden
|
||||
settings:
|
||||
responsive_image_style: drutopia_card
|
||||
image_link: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: left
|
||||
field_summary:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 3
|
||||
region: right
|
||||
field_topics:
|
||||
type: entity_reference_label
|
||||
label: hidden
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: right
|
||||
hidden:
|
||||
body: true
|
||||
field_body_paragraph: true
|
||||
field_image: true
|
||||
field_meta_tags: true
|
||||
field_tags: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
|
@ -35,10 +35,12 @@ module:
|
|||
crop: 0
|
||||
ctools: 0
|
||||
datetime: 0
|
||||
datetime_range: 0
|
||||
drutopia_article: 0
|
||||
drutopia_blog: 0
|
||||
drutopia_comment: 0
|
||||
drutopia_core: 0
|
||||
drutopia_event: 0
|
||||
drutopia_home_page: 0
|
||||
drutopia_landing_page: 0
|
||||
drutopia_page: 0
|
||||
|
|
67
config/facets.facet.event_topics.yml
Normal file
67
config/facets.facet.event_topics.yml
Normal file
|
@ -0,0 +1,67 @@
|
|||
uuid: 29de5fd7-bd35-4afe-82e1-2de52cf803a7
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- search_api.index.event
|
||||
- views.view.event
|
||||
module:
|
||||
- search_api
|
||||
_core:
|
||||
default_config_hash: 8Ly4-anVf4J5ajq-MuTDPrDlhAhIS_uPglgRffogyRc
|
||||
id: event_topics
|
||||
name: 'Event Topics'
|
||||
url_alias: event_topics
|
||||
weight: 0
|
||||
min_count: 1
|
||||
missing: false
|
||||
missing_label: others
|
||||
show_only_one_result: false
|
||||
field_identifier: field_topics
|
||||
facet_source_id: 'search_api:views_page__event__page_listing'
|
||||
widget:
|
||||
type: checkbox
|
||||
config:
|
||||
show_numbers: true
|
||||
soft_limit: 10
|
||||
soft_limit_settings:
|
||||
show_less_label: 'Show fewer'
|
||||
show_more_label: 'Show more'
|
||||
query_operator: or
|
||||
use_hierarchy: false
|
||||
keep_hierarchy_parents_active: false
|
||||
hierarchy:
|
||||
type: taxonomy
|
||||
config: { }
|
||||
expand_hierarchy: false
|
||||
enable_parent_when_child_gets_disabled: true
|
||||
hard_limit: 0
|
||||
exclude: false
|
||||
only_visible_when_facet_source_is_visible: true
|
||||
processor_configs:
|
||||
display_value_widget_order:
|
||||
processor_id: display_value_widget_order
|
||||
weights:
|
||||
sort: -10
|
||||
settings:
|
||||
sort: ASC
|
||||
term_weight_widget_order:
|
||||
processor_id: term_weight_widget_order
|
||||
weights:
|
||||
sort: -10
|
||||
settings:
|
||||
sort: ASC
|
||||
translate_entity:
|
||||
processor_id: translate_entity
|
||||
weights:
|
||||
build: 5
|
||||
settings: { }
|
||||
url_processor_handler:
|
||||
processor_id: url_processor_handler
|
||||
weights:
|
||||
pre_query: -10
|
||||
build: -10
|
||||
settings: { }
|
||||
empty_behavior:
|
||||
behavior: none
|
||||
show_title: null
|
67
config/facets.facet.event_type.yml
Normal file
67
config/facets.facet.event_type.yml
Normal file
|
@ -0,0 +1,67 @@
|
|||
uuid: dac4667c-f174-4e5c-8f53-fca7bfa730b2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- search_api.index.event
|
||||
- views.view.event
|
||||
module:
|
||||
- search_api
|
||||
_core:
|
||||
default_config_hash: aiLDNmDQCRyRzEyM8ktC2hnIMBT0bH2QKFF_86gamhU
|
||||
id: event_type
|
||||
name: 'Event type'
|
||||
url_alias: event_type
|
||||
weight: 0
|
||||
min_count: 1
|
||||
missing: false
|
||||
missing_label: others
|
||||
show_only_one_result: false
|
||||
field_identifier: field_event_type
|
||||
facet_source_id: 'search_api:views_page__event__page_listing'
|
||||
widget:
|
||||
type: checkbox
|
||||
config:
|
||||
show_numbers: true
|
||||
soft_limit: 10
|
||||
soft_limit_settings:
|
||||
show_less_label: 'Show fewer'
|
||||
show_more_label: 'Show more'
|
||||
query_operator: or
|
||||
use_hierarchy: false
|
||||
keep_hierarchy_parents_active: false
|
||||
hierarchy:
|
||||
type: taxonomy
|
||||
config: { }
|
||||
expand_hierarchy: false
|
||||
enable_parent_when_child_gets_disabled: true
|
||||
hard_limit: 0
|
||||
exclude: false
|
||||
only_visible_when_facet_source_is_visible: true
|
||||
processor_configs:
|
||||
display_value_widget_order:
|
||||
processor_id: display_value_widget_order
|
||||
weights:
|
||||
sort: -10
|
||||
settings:
|
||||
sort: ASC
|
||||
term_weight_widget_order:
|
||||
processor_id: term_weight_widget_order
|
||||
weights:
|
||||
sort: -10
|
||||
settings:
|
||||
sort: ASC
|
||||
translate_entity:
|
||||
processor_id: translate_entity
|
||||
weights:
|
||||
build: 5
|
||||
settings: { }
|
||||
url_processor_handler:
|
||||
processor_id: url_processor_handler
|
||||
weights:
|
||||
pre_query: -10
|
||||
build: -10
|
||||
settings: { }
|
||||
empty_behavior:
|
||||
behavior: none
|
||||
show_title: null
|
26
config/field.field.node.event.body.yml
Normal file
26
config/field.field.node.event.body.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uuid: e38b5c74-75dd-4ab8-bd4d-ebcd2876ea2a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.body
|
||||
- node.type.event
|
||||
module:
|
||||
- text
|
||||
_core:
|
||||
default_config_hash: 0XDEdp59Euom_ZiUhzmF4CeR9XfrBklxi6cSXdOr8M0
|
||||
id: node.event.body
|
||||
field_name: body
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: Body
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
display_summary: true
|
||||
required_summary: false
|
||||
allowed_formats: { }
|
||||
field_type: text_with_summary
|
48
config/field.field.node.event.field_body_paragraph.yml
Normal file
48
config/field.field.node.event.field_body_paragraph.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
uuid: 844aa849-9c90-4140-8343-f8f864fc2de9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_body_paragraph
|
||||
- node.type.event
|
||||
- paragraphs.paragraphs_type.file
|
||||
- paragraphs.paragraphs_type.image
|
||||
- paragraphs.paragraphs_type.text
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
_core:
|
||||
default_config_hash: v1cDZfGDCCh3CsrnaxfPR2IDUhJAbpEakT7NNR8aC-4
|
||||
id: node.event.field_body_paragraph
|
||||
field_name: field_body_paragraph
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Body paragraph'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:paragraph'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
text: text
|
||||
image: image
|
||||
file: file
|
||||
target_bundles_drag_drop:
|
||||
text:
|
||||
enabled: true
|
||||
weight: -11
|
||||
image:
|
||||
enabled: true
|
||||
weight: -10
|
||||
file:
|
||||
enabled: true
|
||||
weight: -9
|
||||
slide:
|
||||
weight: -8
|
||||
enabled: false
|
||||
update:
|
||||
weight: -7
|
||||
enabled: false
|
||||
field_type: entity_reference_revisions
|
28
config/field.field.node.event.field_event_date.yml
Normal file
28
config/field.field.node.event.field_event_date.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
uuid: 218caece-291f-492a-a116-249bddce2726
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_event_date
|
||||
- node.type.event
|
||||
module:
|
||||
- datetime_range
|
||||
_core:
|
||||
default_config_hash: aZjZSozz3uHvneRwo2c6OkEjxVcWEMC8RTJWP9fenUY
|
||||
id: node.event.field_event_date
|
||||
field_name: field_event_date
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Event date'
|
||||
description: 'Add in your event date in the same format as the default current date provided.'
|
||||
required: true
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
default_date_type: now
|
||||
default_date: now
|
||||
default_end_date_type: relative
|
||||
default_end_date: '+3 hours'
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: daterange
|
30
config/field.field.node.event.field_event_type.yml
Normal file
30
config/field.field.node.event.field_event_type.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
uuid: d1d2c3f1-927b-4d15-bd4b-92e15ac5c5fb
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_event_type
|
||||
- node.type.event
|
||||
- taxonomy.vocabulary.event_type
|
||||
_core:
|
||||
default_config_hash: L8dw0Hcg14Hm8xMkAxUHHOoXn8FvgkTD6iVCPZjSLzE
|
||||
id: node.event.field_event_type
|
||||
field_name: field_event_type
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Event type'
|
||||
description: 'Site visitors can filter content by the Event Type. Add Event Type options at the <a href="/admin/structure/taxonomy/manage/event_type/overview">Event Type vocabulary page</a>.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
event_type: event_type
|
||||
sort:
|
||||
field: _none
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
40
config/field.field.node.event.field_image.yml
Normal file
40
config/field.field.node.event.field_image.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uuid: a67dc69a-fcd9-4c36-9273-cd66864a0b8b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_image
|
||||
- node.type.event
|
||||
module:
|
||||
- image
|
||||
_core:
|
||||
default_config_hash: zOEVaFIb35RuUGei4zJzdFw-rRI6r32xpyGvULGM758
|
||||
id: node.event.field_image
|
||||
field_name: field_image
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Image (DEPRECATED)'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'png gif jpg jpeg'
|
||||
max_filesize: ''
|
||||
max_resolution: ''
|
||||
min_resolution: ''
|
||||
alt_field: true
|
||||
alt_field_required: true
|
||||
title_field: false
|
||||
title_field_required: false
|
||||
default_image:
|
||||
uuid: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
field_type: image
|
33
config/field.field.node.event.field_media_image.yml
Normal file
33
config/field.field.node.event.field_media_image.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
uuid: 1b9cfebd-f1ec-40d6-8101-2ae1f2f78932
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_media_image
|
||||
- media.type.image
|
||||
- node.type.event
|
||||
module:
|
||||
- media_library_media_modify
|
||||
_core:
|
||||
default_config_hash: 4Z2eFY4xv_6fm43zvuQOzzGBBQACeDO_nK5rnkgaHWQ
|
||||
id: node.event.field_media_image
|
||||
field_name: field_media_image
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Media image'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:media'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
image: image
|
||||
sort:
|
||||
field: _none
|
||||
direction: ASC
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference_entity_modify
|
25
config/field.field.node.event.field_meta_tags.yml
Normal file
25
config/field.field.node.event.field_meta_tags.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
uuid: 95ef259a-aba2-44b5-9a37-1dd223f9c4c2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_meta_tags
|
||||
- node.type.event
|
||||
module:
|
||||
- metatag
|
||||
_core:
|
||||
default_config_hash: '-nyr69BC62yPSBhfKq42ke5mOaFZu8mDH45bErvqcKk'
|
||||
id: node.event.field_meta_tags
|
||||
field_name: field_meta_tags
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: 'Meta tags'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value:
|
||||
-
|
||||
value: 'a:0:{}'
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: metatag
|
24
config/field.field.node.event.field_summary.yml
Normal file
24
config/field.field.node.event.field_summary.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: 40cb7ae6-27e3-4d0c-b3b1-4c783fc45e8a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_summary
|
||||
- node.type.event
|
||||
module:
|
||||
- text
|
||||
_core:
|
||||
default_config_hash: cLGdP-9ZacAEqMSlTsp2LP2pngq5Df4fguPZCwBzTRo
|
||||
id: node.event.field_summary
|
||||
field_name: field_summary
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: Summary
|
||||
description: 'Enter a short description (one or two sentences) of what this Event is about. The summary is displayed on Event teasers, such as on the Events page. '
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
allowed_formats: { }
|
||||
field_type: text_long
|
31
config/field.field.node.event.field_tags.yml
Normal file
31
config/field.field.node.event.field_tags.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
uuid: 4e65daf5-fa5c-4180-9359-141f68bf6c3b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_tags
|
||||
- node.type.event
|
||||
- taxonomy.vocabulary.tags
|
||||
_core:
|
||||
default_config_hash: fJ7b2WpT62BZmJreABD-aTaNcHNAg0Vlbe8fDLeeLpg
|
||||
id: node.event.field_tags
|
||||
field_name: field_tags
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: Tags
|
||||
description: 'Enter a comma separated list. Try to use existing terms which will be suggested as you type.'
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
tags: tags
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
auto_create: true
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
31
config/field.field.node.event.field_topics.yml
Normal file
31
config/field.field.node.event.field_topics.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
uuid: f8636423-dad7-4d0d-8d7a-f83b443aaf08
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_topics
|
||||
- node.type.event
|
||||
- taxonomy.vocabulary.topics
|
||||
_core:
|
||||
default_config_hash: wqZwtuSEquEPhhsgjHwC2uKdHgSn7JV_2vDH5Se6-a4
|
||||
id: node.event.field_topics
|
||||
field_name: field_topics
|
||||
entity_type: node
|
||||
bundle: event
|
||||
label: Topics
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
topics: topics
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
22
config/field.storage.node.field_event_date.yml
Normal file
22
config/field.storage.node.field_event_date.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uuid: d2fb15cb-41ea-42ae-8d00-4ecbaf8f198f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- datetime_range
|
||||
- node
|
||||
_core:
|
||||
default_config_hash: PRy1uXN-eNe_bhZftoMMThr7YhcrizvH74LLYVP5Poo
|
||||
id: node.field_event_date
|
||||
field_name: field_event_date
|
||||
entity_type: node
|
||||
type: daterange
|
||||
settings:
|
||||
datetime_type: datetime
|
||||
module: datetime_range
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
22
config/field.storage.node.field_event_type.yml
Normal file
22
config/field.storage.node.field_event_type.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uuid: 8485b117-f9d2-4c63-87e3-3c53dfdea476
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- taxonomy
|
||||
_core:
|
||||
default_config_hash: EMlYHdcGU3ppan--N4gG9-XPyIAjS9qx8A1sSKKA8bQ
|
||||
id: node.field_event_type
|
||||
field_name: field_event_type
|
||||
entity_type: node
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: taxonomy_term
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
20
config/node.type.event.yml
Normal file
20
config/node.type.event.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uuid: 8f20d847-69da-4584-8a92-c142e5ad27a2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- menu_ui
|
||||
third_party_settings:
|
||||
menu_ui:
|
||||
available_menus:
|
||||
- main
|
||||
parent: 'main:'
|
||||
_core:
|
||||
default_config_hash: OCnWFFVin6JUGrQb12q56HQkXpxMFyq3FEfFKj8Zkj8
|
||||
name: Event
|
||||
type: event
|
||||
description: 'An <em>event</em> contains a date.'
|
||||
help: ''
|
||||
new_revision: true
|
||||
preview_mode: 1
|
||||
display_submitted: false
|
24
config/pathauto.pattern.event_type.yml
Normal file
24
config/pathauto.pattern.event_type.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: be9b4e5a-7e35-4276-bf02-87057d0c2483
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- taxonomy
|
||||
_core:
|
||||
default_config_hash: 05kUE8gufgvZyUfXOLGUvaRxwTtSUksoald_VWxYMF4
|
||||
id: event_type
|
||||
label: 'Event type'
|
||||
type: 'canonical_entities:taxonomy_term'
|
||||
pattern: '[term:vocabulary]/[term:name]'
|
||||
selection_criteria:
|
||||
4235ff3e-2482-41db-8d93-2958c58ed354:
|
||||
id: 'entity_bundle:taxonomy_term'
|
||||
bundles:
|
||||
event_type: event_type
|
||||
negate: false
|
||||
context_mapping:
|
||||
taxonomy_term: taxonomy_term
|
||||
uuid: 4235ff3e-2482-41db-8d93-2958c58ed354
|
||||
selection_logic: and
|
||||
weight: -5
|
||||
relationships: { }
|
24
config/pathauto.pattern.node_event.yml
Normal file
24
config/pathauto.pattern.node_event.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: 8a7534b8-0d9c-4261-b4ef-8b2cfd911701
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
_core:
|
||||
default_config_hash: f03JJH7QX2B1NiF4aKwhgRIUz3YNrUlGEnoJmPHpMUk
|
||||
id: node_event
|
||||
label: 'Node event'
|
||||
type: 'canonical_entities:node'
|
||||
pattern: 'events/[node:title]'
|
||||
selection_criteria:
|
||||
e1099d30-09a7-46b9-baec-60daea9c0c25:
|
||||
id: 'entity_bundle:node'
|
||||
bundles:
|
||||
event: event
|
||||
negate: false
|
||||
context_mapping:
|
||||
node: node
|
||||
uuid: e1099d30-09a7-46b9-baec-60daea9c0c25
|
||||
selection_logic: and
|
||||
weight: -5
|
||||
relationships: { }
|
254
config/search_api.index.event.yml
Normal file
254
config/search_api.index.event.yml
Normal file
|
@ -0,0 +1,254 @@
|
|||
uuid: a5cd8bab-99d9-4919-b92f-bc87c416b80b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_tags
|
||||
- field.storage.node.field_summary
|
||||
- field.storage.node.field_event_date
|
||||
- field.storage.node.field_event_type
|
||||
- field.storage.node.field_topics
|
||||
- search_api.server.database
|
||||
- core.entity_view_mode.node.search_index
|
||||
module:
|
||||
- user
|
||||
- search_api
|
||||
- node
|
||||
_core:
|
||||
default_config_hash: pM1tjHFtLXQvJb7oKec2wxmlqreIM6Q4wb3bg7eMbiQ
|
||||
id: event
|
||||
name: Event
|
||||
description: 'An index for the event content type.'
|
||||
read_only: false
|
||||
field_settings:
|
||||
rendered_item:
|
||||
label: 'Rendered HTML output'
|
||||
property_path: rendered_item
|
||||
type: text
|
||||
configuration:
|
||||
roles:
|
||||
anonymous: anonymous
|
||||
view_mode:
|
||||
'entity:node':
|
||||
event: search_index
|
||||
node_grants:
|
||||
label: 'Node access information'
|
||||
property_path: search_api_node_grants
|
||||
type: string
|
||||
indexed_locked: true
|
||||
type_locked: true
|
||||
hidden: true
|
||||
title:
|
||||
label: Title
|
||||
datasource_id: 'entity:node'
|
||||
property_path: title
|
||||
type: text
|
||||
boost: 8.0
|
||||
field_tags:
|
||||
label: Tags
|
||||
datasource_id: 'entity:node'
|
||||
property_path: field_tags
|
||||
type: integer
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_tags
|
||||
created:
|
||||
label: 'Authored on'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: created
|
||||
type: date
|
||||
uid:
|
||||
label: 'Authored by'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: uid
|
||||
type: integer
|
||||
indexed_locked: true
|
||||
type_locked: true
|
||||
changed:
|
||||
label: Changed
|
||||
datasource_id: 'entity:node'
|
||||
property_path: changed
|
||||
type: date
|
||||
field_summary:
|
||||
label: Summary
|
||||
datasource_id: 'entity:node'
|
||||
property_path: field_summary
|
||||
type: text
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_summary
|
||||
status:
|
||||
label: Published
|
||||
datasource_id: 'entity:node'
|
||||
property_path: status
|
||||
type: boolean
|
||||
indexed_locked: true
|
||||
type_locked: true
|
||||
name:
|
||||
label: 'Authored by » User » Name'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: 'uid:entity:name'
|
||||
type: string
|
||||
dependencies:
|
||||
module:
|
||||
- user
|
||||
sticky:
|
||||
label: 'Sticky at top of lists'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: sticky
|
||||
type: boolean
|
||||
promote:
|
||||
label: 'Promoted to front page'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: promote
|
||||
type: boolean
|
||||
field_event_date:
|
||||
label: 'Event date'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: field_event_date
|
||||
type: date
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_event_date
|
||||
field_event_type:
|
||||
label: 'Event type'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: field_event_type
|
||||
type: integer
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_event_type
|
||||
end_value:
|
||||
label: 'Event date » End date value'
|
||||
datasource_id: 'entity:node'
|
||||
property_path: 'field_event_date:end_value'
|
||||
type: date
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_event_date
|
||||
field_topics:
|
||||
label: Topics
|
||||
datasource_id: 'entity:node'
|
||||
property_path: field_topics
|
||||
type: integer
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_topics
|
||||
datasource_settings:
|
||||
'entity:node':
|
||||
bundles:
|
||||
default: false
|
||||
selected:
|
||||
- event
|
||||
languages:
|
||||
default: true
|
||||
selected: { }
|
||||
processor_settings:
|
||||
rendered_item: { }
|
||||
add_url: { }
|
||||
aggregated_field: { }
|
||||
entity_status: { }
|
||||
tokenizer:
|
||||
all_fields: false
|
||||
fields:
|
||||
- rendered_item
|
||||
- title
|
||||
- field_summary
|
||||
spaces: ''
|
||||
overlap_cjk: 1
|
||||
minimum_word_size: '3'
|
||||
weights:
|
||||
preprocess_index: -44
|
||||
preprocess_query: -46
|
||||
stopwords:
|
||||
all_fields: false
|
||||
fields:
|
||||
- rendered_item
|
||||
- title
|
||||
- field_summary
|
||||
stopwords:
|
||||
- a
|
||||
- an
|
||||
- and
|
||||
- are
|
||||
- as
|
||||
- at
|
||||
- be
|
||||
- but
|
||||
- by
|
||||
- for
|
||||
- if
|
||||
- in
|
||||
- into
|
||||
- is
|
||||
- it
|
||||
- 'no'
|
||||
- not
|
||||
- of
|
||||
- 'on'
|
||||
- or
|
||||
- s
|
||||
- such
|
||||
- t
|
||||
- that
|
||||
- the
|
||||
- their
|
||||
- then
|
||||
- there
|
||||
- these
|
||||
- they
|
||||
- this
|
||||
- to
|
||||
- was
|
||||
- will
|
||||
- with
|
||||
weights:
|
||||
preprocess_index: -48
|
||||
preprocess_query: -50
|
||||
ignorecase:
|
||||
all_fields: false
|
||||
fields:
|
||||
- rendered_item
|
||||
- title
|
||||
- field_summary
|
||||
- name
|
||||
weights:
|
||||
preprocess_index: -49
|
||||
preprocess_query: -49
|
||||
transliteration:
|
||||
all_fields: false
|
||||
fields:
|
||||
- rendered_item
|
||||
- title
|
||||
- field_summary
|
||||
- name
|
||||
weights:
|
||||
preprocess_index: -47
|
||||
preprocess_query: -48
|
||||
content_access:
|
||||
weights:
|
||||
preprocess_query: -45
|
||||
html_filter:
|
||||
all_fields: false
|
||||
fields:
|
||||
- rendered_item
|
||||
- field_summary
|
||||
title: true
|
||||
alt: true
|
||||
tags:
|
||||
h1: 5
|
||||
h2: 3
|
||||
h3: 2
|
||||
strong: 2
|
||||
b: 2
|
||||
weights:
|
||||
preprocess_index: -46
|
||||
preprocess_query: -47
|
||||
tracker_settings:
|
||||
default:
|
||||
indexing_order: fifo
|
||||
options:
|
||||
index_directly: true
|
||||
cron_limit: 50
|
||||
track_changes_in_references: true
|
||||
server: database
|
10
config/taxonomy.vocabulary.event_type.yml
Normal file
10
config/taxonomy.vocabulary.event_type.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uuid: 95e072be-35b3-4773-813e-592dd0cde5d5
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: zXNyNAqYa3lg2SG7bo9Cte_Zkqf0Bef9RwaATzRiTKg
|
||||
name: 'Event type'
|
||||
vid: event_type
|
||||
description: 'For categorizing events.'
|
||||
weight: 0
|
|
@ -5,6 +5,7 @@ dependencies:
|
|||
config:
|
||||
- node.type.article
|
||||
- node.type.blog
|
||||
- node.type.event
|
||||
- node.type.page
|
||||
- node.type.people
|
||||
- node.type.resource
|
||||
|
@ -32,6 +33,7 @@ permissions:
|
|||
- 'access media overview'
|
||||
- 'create article content'
|
||||
- 'create blog content'
|
||||
- 'create event content'
|
||||
- 'create media'
|
||||
- 'create page content'
|
||||
- 'create people content'
|
||||
|
@ -43,6 +45,7 @@ permissions:
|
|||
- 'edit own article content'
|
||||
- 'edit own blog content'
|
||||
- 'edit own comments'
|
||||
- 'edit own event content'
|
||||
- 'edit own page content'
|
||||
- 'edit own people content'
|
||||
- 'edit own resource content'
|
||||
|
|
|
@ -4,6 +4,7 @@ status: true
|
|||
dependencies:
|
||||
config:
|
||||
- filter.format.restricted_html
|
||||
- node.type.event
|
||||
- node.type.page
|
||||
- node.type.people
|
||||
- node.type.resource
|
||||
|
@ -44,6 +45,7 @@ permissions:
|
|||
- 'administer redirects'
|
||||
- 'administer taxonomy'
|
||||
- 'administer users'
|
||||
- 'create event content'
|
||||
- 'create media'
|
||||
- 'create page content'
|
||||
- 'create people content'
|
||||
|
@ -51,6 +53,7 @@ permissions:
|
|||
- 'create url aliases'
|
||||
- 'delete all revisions'
|
||||
- 'delete own files'
|
||||
- 'edit any event content'
|
||||
- 'edit any page content'
|
||||
- 'edit any people content'
|
||||
- 'edit any resource content'
|
||||
|
|
|
@ -6,6 +6,7 @@ dependencies:
|
|||
- block_content.type.basic
|
||||
- block_content.type.slide
|
||||
- filter.format.restricted_html
|
||||
- node.type.event
|
||||
- node.type.page
|
||||
- node.type.people
|
||||
- node.type.resource
|
||||
|
@ -69,6 +70,7 @@ permissions:
|
|||
- 'assign editor role'
|
||||
- 'assign manager role'
|
||||
- 'create basic block content'
|
||||
- 'create event content'
|
||||
- 'create media'
|
||||
- 'create page content'
|
||||
- 'create people content'
|
||||
|
@ -78,6 +80,7 @@ permissions:
|
|||
- 'delete all revisions'
|
||||
- 'delete own files'
|
||||
- 'edit any basic block content'
|
||||
- 'edit any event content'
|
||||
- 'edit any page content'
|
||||
- 'edit any people content'
|
||||
- 'edit any resource content'
|
||||
|
|
308
config/views.view.event.yml
Normal file
308
config/views.view.event.yml
Normal file
|
@ -0,0 +1,308 @@
|
|||
uuid: 36b4c717-0050-4845-a7cf-ce348e854247
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- search_api.index.event
|
||||
- system.menu.main
|
||||
module:
|
||||
- search_api
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: s0wzYTk3nzhvAajBLLAyku1TVKr4fzNMY8ee6zL3X6o
|
||||
id: event
|
||||
label: Event
|
||||
module: views
|
||||
description: 'Displays for event content type.'
|
||||
tag: ''
|
||||
base_table: search_api_index_event
|
||||
base_field: search_api_id
|
||||
display:
|
||||
default:
|
||||
display_plugin: default
|
||||
id: default
|
||||
display_title: Master
|
||||
position: 0
|
||||
display_options:
|
||||
access:
|
||||
type: perm
|
||||
options:
|
||||
perm: 'access content'
|
||||
cache:
|
||||
type: none
|
||||
options: { }
|
||||
query:
|
||||
type: search_api_query
|
||||
options:
|
||||
bypass_access: false
|
||||
skip_access: false
|
||||
exposed_form:
|
||||
type: basic
|
||||
options:
|
||||
submit_button: Apply
|
||||
reset_button: false
|
||||
reset_button_label: Reset
|
||||
exposed_sorts_label: 'Sort by'
|
||||
expose_sort_order: true
|
||||
sort_asc_label: Asc
|
||||
sort_desc_label: Desc
|
||||
pager:
|
||||
type: mini
|
||||
options:
|
||||
items_per_page: 10
|
||||
offset: 0
|
||||
id: 0
|
||||
total_pages: null
|
||||
tags:
|
||||
previous: ‹‹
|
||||
next: ››
|
||||
expose:
|
||||
items_per_page: false
|
||||
items_per_page_label: 'Items per page'
|
||||
items_per_page_options: '5, 10, 25, 50'
|
||||
items_per_page_options_all: false
|
||||
items_per_page_options_all_label: '- All -'
|
||||
offset: false
|
||||
offset_label: Offset
|
||||
style:
|
||||
type: default
|
||||
options:
|
||||
grouping: { }
|
||||
row_class: ''
|
||||
default_row_class: false
|
||||
row:
|
||||
type: search_api
|
||||
options:
|
||||
view_modes:
|
||||
'entity:node':
|
||||
event: teaser
|
||||
fields:
|
||||
rendered_item:
|
||||
table: search_api_index_event
|
||||
field: rendered_item
|
||||
id: rendered_item
|
||||
entity_type: null
|
||||
entity_field: null
|
||||
plugin_id: search_api
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: ''
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
link_to_item: false
|
||||
use_highlighting: false
|
||||
multi_type: separator
|
||||
multi_separator: ', '
|
||||
filters: { }
|
||||
sorts:
|
||||
sticky:
|
||||
id: sticky
|
||||
table: search_api_index_event
|
||||
field: sticky
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
order: DESC
|
||||
exposed: false
|
||||
expose:
|
||||
label: ''
|
||||
plugin_id: search_api
|
||||
field_event_date:
|
||||
id: field_event_date
|
||||
table: search_api_index_event
|
||||
field: field_event_date
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
order: DESC
|
||||
exposed: false
|
||||
expose:
|
||||
label: ''
|
||||
plugin_id: search_api
|
||||
header: { }
|
||||
footer: { }
|
||||
empty: { }
|
||||
relationships: { }
|
||||
arguments: { }
|
||||
display_extenders: { }
|
||||
title: Events
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
- 'languages:language_interface'
|
||||
- url.query_args
|
||||
- user.permissions
|
||||
tags: { }
|
||||
block_upcoming:
|
||||
display_plugin: block
|
||||
id: block_upcoming
|
||||
display_title: 'Block Upcoming'
|
||||
position: 2
|
||||
display_options:
|
||||
display_extenders: { }
|
||||
display_description: ''
|
||||
filters:
|
||||
field_event_date:
|
||||
id: field_event_date
|
||||
table: search_api_index_event
|
||||
field: field_event_date
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
operator: '>='
|
||||
value:
|
||||
min: ''
|
||||
max: ''
|
||||
value: now
|
||||
type: offset
|
||||
group: 1
|
||||
exposed: false
|
||||
expose:
|
||||
operator_id: ''
|
||||
label: ''
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: ''
|
||||
identifier: ''
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
placeholder: ''
|
||||
min_placeholder: ''
|
||||
max_placeholder: ''
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: search_api_date
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
sorts: false
|
||||
title: false
|
||||
pager: false
|
||||
use_more: false
|
||||
use_more_always: false
|
||||
use_more_text: false
|
||||
style: false
|
||||
row: false
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
1: AND
|
||||
sorts:
|
||||
field_event_date:
|
||||
id: field_event_date
|
||||
table: search_api_index_event
|
||||
field: field_event_date
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
order: ASC
|
||||
exposed: false
|
||||
expose:
|
||||
label: ''
|
||||
plugin_id: search_api
|
||||
title: 'Upcoming events'
|
||||
pager:
|
||||
type: some
|
||||
options:
|
||||
items_per_page: 5
|
||||
offset: 0
|
||||
block_hide_empty: true
|
||||
use_more: true
|
||||
use_more_always: false
|
||||
use_more_text: More
|
||||
style:
|
||||
type: default
|
||||
options:
|
||||
grouping: { }
|
||||
row_class: ''
|
||||
default_row_class: false
|
||||
row:
|
||||
type: search_api
|
||||
options:
|
||||
view_modes:
|
||||
'entity:node':
|
||||
event: micro
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
- 'languages:language_interface'
|
||||
- user.permissions
|
||||
tags: { }
|
||||
page_listing:
|
||||
display_plugin: page
|
||||
id: page_listing
|
||||
display_title: Page
|
||||
position: 1
|
||||
display_options:
|
||||
display_extenders: { }
|
||||
path: events
|
||||
menu:
|
||||
type: normal
|
||||
title: Events
|
||||
description: 'See a listing of our events.'
|
||||
expanded: false
|
||||
parent: 'menu_link_content:f1eaa438-620d-418b-acd3-ad00dab9c635'
|
||||
weight: 0
|
||||
context: '0'
|
||||
menu_name: main
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
- 'languages:language_interface'
|
||||
- url.query_args
|
||||
- user.permissions
|
||||
tags: { }
|
Loading…
Reference in a new issue