Skip to content

Commit

Permalink
Merge pull request #57 from david-storm/main
Browse files Browse the repository at this point in the history
feat: add fields to override contact info
  • Loading branch information
podarok authored Jul 26, 2023
2 parents d7ce28f + 69efe93 commit 8e05895
Show file tree
Hide file tree
Showing 12 changed files with 309 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ status: true
dependencies:
config:
- entity_browser.browser.images_library
- field.field.node.event.field_contact_email
- field.field.node.event.field_contact_name
- field.field.node.event.field_contact_phone
- field.field.node.event.field_content
- field.field.node.event.field_event_dates
- field.field.node.event.field_event_description
Expand All @@ -26,49 +29,94 @@ third_party_settings:
- field_event_image
- field_event_description
- field_content
label: 'Content Area'
region: hidden
parent_name: ''
weight: 3
weight: 17
format_type: tab
format_settings:
id: ''
classes: ''
id: ''
formatter: closed
description: ''
required_fields: true
label: 'Content Area'
group_sidebar_area:
children:
- field_sidebar_content
label: 'Sidebar Area'
region: hidden
parent_name: ''
weight: 4
weight: 18
format_type: tab
format_settings:
classes: ''
id: ''
formatter: closed
description: ''
required_fields: true
group_location_info:
children:
- field_contact_name
- field_contact_phone
- field_contact_email
label: 'Location info'
region: content
parent_name: ''
weight: 2
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
label: 'Sidebar Area'
id: node.event.default
targetEntityType: node
bundle: event
mode: default
content:
addthis:
type: boolean_checkbox
weight: 8
region: content
settings:
display_label: true
weight: 9
region: content
third_party_settings: { }
created:
type: datetime_timestamp
weight: 7
weight: 6
region: content
settings: { }
third_party_settings: { }
field_contact_email:
type: email_default
weight: 18
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
field_contact_name:
type: string_textfield
weight: 16
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_contact_phone:
type: string_textfield
weight: 17
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_content:
type: entity_reference_paragraphs
weight: 17
region: content
settings:
title: Paragraph
title_plural: Paragraphs
Expand All @@ -77,44 +125,45 @@ content:
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_event_dates:
weight: 2
settings: { }
third_party_settings: { }
type: daterange_default
weight: 3
region: content
settings: { }
third_party_settings: { }
field_event_description:
type: text_textarea
weight: 16
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_event_image:
type: entity_browser_entity_reference
weight: 15
region: content
settings:
entity_browser: images_library
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_remove: true
selection_mode: selection_append
field_widget_replace: false
open: false
field_widget_display_settings:
view_mode: thumbnail_for_preview
open: false
selection_mode: selection_append
third_party_settings: { }
type: entity_browser_entity_reference
region: content
field_event_location:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
type: options_select
region: content
field_sidebar_content:
type: entity_reference_paragraphs
weight: 16
region: content
settings:
title: Paragraph
title_plural: Paragraphs
Expand All @@ -123,20 +172,18 @@ content:
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
type: entity_reference_paragraphs
region: content
langcode:
type: language_select
weight: 5
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 14
settings: { }
region: content
settings: { }
third_party_settings: { }
path:
type: path
Expand All @@ -146,30 +193,43 @@ content:
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 7
region: content
settings:
display_label: true
weight: 8
region: content
third_party_settings: { }
publish_on:
type: datetime_timestamp_no_default
weight: 11
region: content
settings: { }
third_party_settings: { }
redirect:
type: string_textfield
weight: 15
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 14
region: content
settings:
display_label: true
weight: 15
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
weight: 10
region: content
third_party_settings: { }
title:
type: string_textfield
Expand All @@ -181,17 +241,23 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 6
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
region: content
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 12
region: content
settings: { }
third_party_settings: { }
url_redirects:
weight: 16
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.event.field_contact_email
- field.field.node.event.field_contact_name
- field.field.node.event.field_contact_phone
- field.field.node.event.field_content
- field.field.node.event.field_event_dates
- field.field.node.event.field_event_description
Expand All @@ -20,71 +23,75 @@ bundle: event
mode: default
content:
addthis:
label: hidden
type: boolean
weight: 6
region: content
label: hidden
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 6
region: content
field_content:
weight: 3
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
weight: 3
region: content
field_event_dates:
weight: 5
type: daterange_default
label: hidden
settings:
timezone_override: ''
format_type: medium
separator: '-'
third_party_settings: { }
type: daterange_default
weight: 5
region: content
field_event_description:
weight: 2
type: text_default
label: hidden
settings: { }
third_party_settings: { }
type: text_default
weight: 2
region: content
field_event_image:
weight: 1
type: entity_reference_entity_view
label: hidden
settings:
link: true
view_mode: default
link: true
third_party_settings: { }
type: entity_reference_entity_view
weight: 1
region: content
field_event_location:
weight: 4
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
type: entity_reference_label
weight: 4
region: content
field_sidebar_content:
weight: 7
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
weight: 7
region: content
links:
weight: 0
region: content
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
field_contact_email: true
field_contact_name: true
field_contact_phone: true
langcode: true
search_api_excerpt: true
Loading

0 comments on commit 8e05895

Please sign in to comment.