Skip to content

Commit

Permalink
Added site owner contact fields
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 3, 2023
1 parent 014afb4 commit a1ce95d
Show file tree
Hide file tree
Showing 59 changed files with 2,524 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_hide_site_search
- field.field.config_pages.stanford_basic_site_settings.su_site_403
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
Expand All @@ -17,9 +18,15 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_name
- field.field.config_pages.stanford_basic_site_settings.su_site_new_menu
- field.field.config_pages.stanford_basic_site_settings.su_site_nobots
- field.field.config_pages.stanford_basic_site_settings.su_site_org
- field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due
- field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_url
module:
- change_labels
- conditional_fields
- cshs
- field_group
- link
- text
Expand All @@ -31,8 +38,8 @@ third_party_settings:
- su_site_admin_notes
label: Experimental
region: content
parent_name: ''
weight: 12
parent_name: group_site_details
weight: 13
format_type: details
format_settings:
classes: ''
Expand All @@ -41,45 +48,113 @@ third_party_settings:
open: false
description: ''
required_fields: false
group_tabs:
children:
- group_site_details
- group_contact_details
label: Tabs
region: content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
direction: horizontal
width_breakpoint: 640
group_site_details:
children:
- su_site_name
- su_site_email
- su_site_url
- su_google_analytics
- su_site_dropdowns
- su_site_menu_levels
- su_hide_site_search
- su_hide_ext_link_icons
- su_site_home
- su_site_404
- su_site_403
- su_site_nobots
- group_experimental
label: 'Site Settings/Features'
region: content
parent_name: group_tabs
weight: 19
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_contact_details:
children:
- su_site_owner_contact
- su_site_tech_contact
- su_site_a11y_contact
- su_site_org
label: 'Contact Details'
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: config_pages.stanford_basic_site_settings.default
targetEntityType: config_pages
bundle: stanford_basic_site_settings
mode: default
content:
su_google_analytics:
type: string_textfield
weight: 3
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_hide_ext_link_icons:
type: boolean_checkbox
weight: 7
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
su_hide_site_search:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
su_site_403:
type: options_select
weight: 10
weight: 11
region: content
settings: { }
third_party_settings: { }
su_site_404:
type: options_select
weight: 9
weight: 10
region: content
settings: { }
third_party_settings: { }
su_site_a11y_contact:
type: email_default
weight: 6
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_admin_notes:
type: text_textarea
weight: 12
Expand All @@ -90,28 +165,28 @@ content:
third_party_settings: { }
su_site_dropdowns:
type: boolean_checkbox
weight: 4
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
su_site_email:
type: email_default
weight: 1
weight: 2
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_home:
type: options_select
weight: 8
weight: 9
region: content
settings: { }
third_party_settings: { }
su_site_menu_levels:
type: number
weight: 5
weight: 6
region: content
settings:
placeholder: ''
Expand All @@ -135,7 +210,7 @@ content:
selector: ''
su_site_name:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
Expand All @@ -150,18 +225,50 @@ content:
third_party_settings: { }
su_site_nobots:
type: boolean_checkbox
weight: 11
weight: 12
region: content
settings:
display_label: true
third_party_settings: { }
su_site_org:
type: cshs
weight: 7
region: content
settings:
save_lineage: false
force_deepest: false
parent: null
level_labels: ''
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
third_party_settings:
change_labels:
field_label_overwrite: ''
su_site_owner_contact:
type: email_default
weight: 4
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_tech_contact:
type: email_default
weight: 5
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_url:
type: link_default
weight: 2
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
hidden:
label: true
su_site_renewal_due: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 8552a374-507c-4d34-9c9c-459d268cbe57
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.site_owner_orgs
id: taxonomy_term.site_owner_orgs.default
targetEntityType: taxonomy_term
bundle: site_owner_orgs
mode: default
content:
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
description: true
path: true
publish_on: true
status: true
unpublish_on: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_hide_site_search
- field.field.config_pages.stanford_basic_site_settings.su_site_403
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
Expand All @@ -17,8 +18,13 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_name
- field.field.config_pages.stanford_basic_site_settings.su_site_new_menu
- field.field.config_pages.stanford_basic_site_settings.su_site_nobots
- field.field.config_pages.stanford_basic_site_settings.su_site_org
- field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due
- field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_url
module:
- datetime
- link
- text
id: config_pages.stanford_basic_site_settings.default
Expand Down Expand Up @@ -70,6 +76,13 @@ content:
third_party_settings: { }
weight: 7
region: content
su_site_a11y_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 17
region: content
su_site_admin_notes:
type: text_default
label: above
Expand Down Expand Up @@ -139,6 +152,37 @@ content:
third_party_settings: { }
weight: 12
region: content
su_site_org:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 18
region: content
su_site_owner_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 14
region: content
su_site_renewal_due:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 15
region: content
su_site_tech_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 16
region: content
su_site_url:
type: link
label: above
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: d8fba16a-7d29-4c7f-89de-a0e7b78671f2
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.site_owner_orgs
id: taxonomy_term.site_owner_orgs.default
targetEntityType: taxonomy_term
bundle: site_owner_orgs
mode: default
content: { }
hidden:
description: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 42ca049b-3f48-4768-9c35-2ff160bd10df
langcode: en
status: true
dependencies:
config:
- config_pages.type.stanford_basic_site_settings
- field.storage.config_pages.su_site_a11y_contact
id: config_pages.stanford_basic_site_settings.su_site_a11y_contact
field_name: su_site_a11y_contact
entity_type: config_pages
bundle: stanford_basic_site_settings
label: 'Accessibility Contact'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: email
Loading

0 comments on commit a1ce95d

Please sign in to comment.