Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"drupal/autosave_form": "^1.10",
"drupal/block_class": "^4.0",
"drupal/blog": "^3.1",
"drupal/book": "^2.0",
"drupal/book": "^3.0",
"drupal/bootstrap_layouts": "^5.5",
"drupal/button_link": "^2.0",
"drupal/ckeditor_abbreviation": "^5.0",
Expand Down Expand Up @@ -217,6 +217,10 @@
"3492837 - TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in array_key_exists()":
"https://www.drupal.org/files/issues/2026-03-02/11.3.x-3492837-9.patch"
},
"drupal/ckeditor_details": {
"3244311 - Allow <details> element to be placed without <div>":
"https://www.drupal.org/files/issues/2024-11-15/3244311-9.patch"
},
"drupal/ctools": {
"Enter drupal/ctools patch #2667652 description here":
"https://www.drupal.org/files/issues/ctools-option_to_expose-2667652-3.patch",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
navigation:
persistent_nav: 1
page_title_nav_labels: 1
page_title_nav_labels: 0
page_nav_home_link: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.book.body
- node.type.book
- workflows.workflow.editorial
module:
- content_moderation
- path
- text
id: node.book.default
targetEntityType: node
bundle: book
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
region: content
settings:
rows: 5
summary_rows: 2
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
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: { }
translation:
weight: 10
region: content
settings: { }
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: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.book.body
- node.type.book
module:
- bootstrap_layouts
- layout_builder
- layout_discovery
- layout_library
- text
- user
third_party_settings:
layout_builder:
enabled: true
allow_custom: false
sections:
-
layout_id: layout_onecol
layout_settings:
label: ''
components:
a6a77cb9-5ce3-46ba-8c0d-bddafc87fce5:
uuid: a6a77cb9-5ce3-46ba-8c0d-bddafc87fce5
region: content
configuration:
id: 'extra_field_block:node:book:content_moderation_control'
label_display: '0'
context_mapping:
entity: layout_builder.entity
weight: 0
additional: { }
00f097fe-a6e5-4467-9d3c-2a1dacd2a827:
uuid: 00f097fe-a6e5-4467-9d3c-2a1dacd2a827
region: content
configuration:
id: 'field_block:node:book:body'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
additional: { }
f1d6ab5d-4531-4061-b90d-766c806e9ceb:
uuid: f1d6ab5d-4531-4061-b90d-766c806e9ceb
region: content
configuration:
id: 'extra_field_block:node:book:links'
label_display: '0'
context_mapping:
entity: layout_builder.entity
weight: 2
additional: { }
third_party_settings: { }
-
layout_id: bs_1col
layout_settings:
label: ''
context_mapping: { }
layout:
wrapper: div
classes:
row: row
add_layout_class: 1
attributes: ''
regions:
main:
wrapper: div
classes:
col-sm-12: col-sm-12
add_region_classes: 1
attributes: ''
components:
0eade8e1-27b0-4519-9287-610ab4abd46a:
uuid: 0eade8e1-27b0-4519-9287-610ab4abd46a
region: main
configuration:
id: 'extra_field_block:node:book:book_navigation'
label: 'Book navigation'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
formatter:
settings: { }
third_party_settings: { }
weight: 0
additional: { }
third_party_settings: { }
layout_library:
enable: false
id: node.book.full
targetEntityType: node
bundle: book
mode: full
content:
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:
book_navigation: true
footnotes_group: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- filter.format.footnote
- filter.format.full_html
- filter.format.rich_text
- node.type.book
module:
- text
id: node.book.body
field_name: body
entity_type: node
bundle: book
label: Body
description: 'A description for this book page.'
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: false
required_summary: false
allowed_formats:
- rich_text
- full_html
- footnote
field_type: text_with_summary
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
config_rewrite: replace
langcode: en
status: true
dependencies:
enforced:
module:
- book
module:
- menu_ui
- wxt_ext_workflow
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
wxt_ext_workflow:
workflow: editorial
name: 'Book page'
type: book
description: '<em>Books</em> have a built-in hierarchical navigation (GC Subway).'
help: ''
help: null
new_revision: true
preview_mode: 1
display_submitted: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
langcode: en
status: true
dependencies:
module:
- node
id: book
label: Book
type: 'canonical_entities:node'
pattern: '[node:book:parents:join-path]/[node:title]'
selection_criteria:
de676eda-f1c9-4740-8f70-f4b1dc2943c1:
id: 'entity_bundle:node'
negate: false
uuid: de676eda-f1c9-4740-8f70-f4b1dc2943c1
context_mapping:
node: node
bundles:
book: book
selection_logic: and
weight: -10
relationships:
'node:langcode:language':
label: Language
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
allowed_type_book: 1
block:
navigation:
mode: 'all pages'
child_type_book: book
allowed_types:
-
content_type: book
child_type: book
-
content_type: page
child_type: page
book_sort: weight
truncate_label: true
use_parent_selector: true
Loading
Loading