Skip to content

Commit

Permalink
Merge pull request #640 from unlcms/issue408-archivepages
Browse files Browse the repository at this point in the history
Issue408 archivepages
  • Loading branch information
ericras authored Feb 15, 2024
2 parents 7e2e59e + 75f5b6c commit 12bb9a7
Show file tree
Hide file tree
Showing 52 changed files with 1,448 additions and 20 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
],
"require": {
"php": ">=8.1",
"ext-dom": "*",
"atomiks/tippyjs": "^5.2",
"cferdinandi/tabby": "12.0.3",
"composer/installers": "^2.1",
Expand Down
5 changes: 3 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions config/sync/core.base_field_override.node.archive_page.promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: b5c27490-886a-476c-80ee-71502142dc9f
langcode: en
status: true
dependencies:
config:
- node.type.archive_page
_core:
default_config_hash: jTsV1q_CSnQyGyibyGOqPmWOf9edJxhR8ool7jhSO_8
id: node.archive_page.promote
field_name: promote
entity_type: node
bundle: archive_page
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
module:
- media_library
_core:
default_config_hash: 0IPTFQ4QsaaIvhHetksXjUvt9XGV68RXjDAdjPi0Ef4
default_config_hash: MmM4GbBNi4ZJggCE5w1JPBIE_peT1Gm9PQNw5o3ydZg
id: block_content.hero.default
targetEntityType: block_content
bundle: hero
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- media_library
- text
_core:
default_config_hash: s-CeHQ1Po1MxiTd9nQlZJDoZWhzqE4ziQ7hrfcy42qU
default_config_hash: Mg7tzBxSVavlDgHB6lTsJYqJHD9NiA7tiYabsVYWIHM
id: block_content.photo_hero.default
targetEntityType: block_content
bundle: photo_hero
Expand Down
91 changes: 91 additions & 0 deletions config/sync/core.entity_form_display.node.archive_page.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
uuid: ccc9b485-012f-40f2-bd6f-4a901f3dd772
langcode: en
status: true
dependencies:
config:
- field.field.node.archive_page.archive_page_body
- node.type.archive_page
module:
- content_moderation
- path
- text
_core:
default_config_hash: AfdaqPAfsQDstu5WG6fM7s0HQMmqGJAyP1UDdHr5u08
id: node.archive_page.default
targetEntityType: node
bundle: archive_page
mode: default
content:
archive_page_body:
type: text_textarea_with_summary
weight: 121
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 100
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
module:
- options
_core:
default_config_hash: L7BvHdUygi_6iGD7fBH0oUIrY428nU3apsmHDftoXuU
default_config_hash: ohc_5Ak4jZ5mZAF-n-zBjp6PW9XMOIugeVx7aY2IHHE
id: block_content.hero.default
targetEntityType: block_content
bundle: hero
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- options
- text
_core:
default_config_hash: kOcB0UwCNvu1Ol-UWJSiVl_tbQL0Fdx-8G6eCknX830
default_config_hash: xXRvIhC6oeKtkTe4UXEi7HcNMQvZz2WrENldpaU8nw4
id: block_content.photo_hero.default
targetEntityType: block_content
bundle: photo_hero
Expand Down
35 changes: 35 additions & 0 deletions config/sync/core.entity_view_display.node.archive_page.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
uuid: 21f9b652-578f-4912-98ea-a0c04010548c
langcode: en
status: true
dependencies:
config:
- field.field.node.archive_page.archive_page_body
- node.type.archive_page
module:
- text
- user
_core:
default_config_hash: Uimh9DMs_BGaasHnExxbwtru0EEM2S29aqv4fRwKCaE
id: node.archive_page.default
targetEntityType: node
bundle: archive_page
mode: default
content:
archive_page_body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden: { }
29 changes: 29 additions & 0 deletions config/sync/core.entity_view_display.node.archive_page.teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 7b2790a5-5715-4ed6-b8f4-d2382702bd82
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.archive_page.archive_page_body
- node.type.archive_page
module:
- user
_core:
default_config_hash: S_sCBgKJAl8bDgE50INwDL1Okm_miD6pJzXshZsfFY4
id: node.archive_page.teaser
targetEntityType: node
bundle: archive_page
mode: teaser
content:
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
archive_page_body: true
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ third_party_settings:
- 'inline_block:accordion'
- 'inline_block:cta'
- 'inline_block:card'
- 'inline_block:html_code'
- 'inline_block:node_include'
- 'inline_block:proofpoint'
- 'inline_block:social_media_links'
Expand All @@ -131,6 +132,7 @@ third_party_settings:
- 'inline_block:accordion'
- 'inline_block:cta'
- 'inline_block:photo_hero'
- 'inline_block:html_code'
- 'inline_block:icon_links'
- 'inline_block:logo_cloud'
- 'inline_block:node_include'
Expand Down Expand Up @@ -160,6 +162,7 @@ third_party_settings:
- 'inline_block:cta'
- 'inline_block:card'
- 'inline_block:photo_hero'
- 'inline_block:html_code'
- 'inline_block:node_include'
- 'inline_block:proofpoint'
- 'inline_block:social_media_links'
Expand All @@ -185,6 +188,7 @@ third_party_settings:
- 'inline_block:cta'
- 'inline_block:card'
- 'inline_block:photo_hero'
- 'inline_block:html_code'
- 'inline_block:logo_cloud'
- 'inline_block:proofpoint'
- 'inline_block:slideshow'
Expand Down
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module:
filter: 0
google_analytics: 0
heading: 0
herbie_archive_page: 0
herbie_book: 0
herbie_builder_page: 0
herbie_config: 0
Expand Down Expand Up @@ -138,6 +139,7 @@ module:
toolbar: 0
twig_tweak: 0
twig_ui: 0
unl_archive_page_import: 0
unl_blocks: 0
unl_breadcrumbs: 0
unl_cas: 0
Expand Down
92 changes: 92 additions & 0 deletions config/sync/editor.editor.archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
uuid: c921609f-3711-431c-8ad1-aaa9e97e5a5f
langcode: en
status: true
dependencies:
config:
- filter.format.archive
module:
- ckeditor5
_core:
default_config_hash: PPY3SMEn5dYuSb_zlVwx9afatduehtBPlwlZcREFS6I
format: archive
editor: ckeditor5
settings:
toolbar:
items:
- sourceEditing
- '|'
- bold
- italic
- strikethrough
- alignment
- '|'
- link
- '|'
- bulletedList
- numberedList
- '|'
- drupalMedia
- blockQuote
- insertTable
- '|'
- heading
- '|'
- superscript
- subscript
- specialCharacters
- '|'
- horizontalLine
- '|'
- style
plugins:
ckeditor5_alignment:
enabled_alignments:
- center
- left
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
reversed: false
startIndex: true
ckeditor5_sourceEditing:
allowed_tags: { }
ckeditor5_style:
styles:
-
label: 'Extra small'
element: '<p class="dcf-txt-xs">'
-
label: Small
element: '<p class="dcf-txt-sm">'
-
label: Large
element: '<p class="dcf-txt-lg">'
-
label: 'Primary Button'
element: '<a class="dcf-btn dcf-btn-primary">'
-
label: 'Secondary Button'
element: '<a class="dcf-btn dcf-btn-secondary">'
-
label: 'Tertiary Button'
element: '<a class="dcf-btn dcf-btn-tertiary">'
-
label: 'Inverse Primary Button'
element: '<a class="dcf-btn dcf-btn-inverse-primary">'
-
label: 'Inverse Secondary Button'
element: '<a class="dcf-btn dcf-btn-inverse-secondary">'
-
label: 'Inverse Tertiary Button'
element: '<a class="dcf-btn dcf-btn-inverse-tertiary">'
linkit_extension:
linkit_enabled: true
linkit_profile: standard
media_media:
allow_view_mode_override: true
image_upload: { }
2 changes: 1 addition & 1 deletion config/sync/field.field.block_content.card.b_card_body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ third_party_settings:
allowed_formats:
- block_body
_core:
default_config_hash: SJKDfUOfV8qMV5nSvuEu9oU7CrpF4GgSdeRFImiK7lM
default_config_hash: lyhW_AA4yA60diwSE2MEk7Ai4WEv4Oo9Z7ZfonHo8uM
id: block_content.card.b_card_body
field_name: b_card_body
entity_type: block_content
Expand Down
Loading

0 comments on commit 12bb9a7

Please sign in to comment.