added book module

This commit is contained in:
2023-05-18 13:31:24 +02:00
parent ef4848e579
commit e05bf1b81d
9 changed files with 242 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
_core:
default_config_hash: i-_2TVi6FUEAqBgNRJkt6aaYmiw1k_LTrXzJS6wlZ4U
allowed_types:
- book
block:
navigation:
mode: 'all pages'
child_type: book
@@ -0,0 +1,24 @@
uuid: 7c385cfe-963d-426f-94a2-4ae909fa6a4d
langcode: en
status: true
dependencies:
config:
- node.type.book
_core:
default_config_hash: rYbAZX1eKDo7CVRnBnpYgdmk8HQo5IcKhzePCx9LCZY
id: node.book.promote
field_name: promote
entity_type: node
bundle: book
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
@@ -0,0 +1,91 @@
uuid: cb753bb4-2813-4dc5-b870-46e052c6f42a
langcode: en
status: true
dependencies:
config:
- field.field.node.book.body
- node.type.book
module:
- path
- text
_core:
default_config_hash: b_hvlXsOoKPjlyIXXp3Msda_pMWTEC4kFo61--akj0Y
id: node.book.default
targetEntityType: node
bundle: book
mode: default
content:
body:
type: text_textarea_with_summary
weight: 26
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: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
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
settings: { }
third_party_settings: { }
region: content
hidden: { }
@@ -0,0 +1,30 @@
uuid: c662fe16-f082-41a0-b74f-d24a07cfa999
langcode: en
status: true
dependencies:
config:
- field.field.node.book.body
- node.type.book
module:
- text
- user
_core:
default_config_hash: W620wooZmJ02Ua5mnXNKBCOpI0abjSOOSKEkSQhuWNA
id: node.book.default
targetEntityType: node
bundle: book
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 100
region: content
links:
weight: 101
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -0,0 +1,32 @@
uuid: 27b52c6d-9f54-4f2a-862d-aa57d0661b4a
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.book.body
- node.type.book
module:
- text
- user
_core:
default_config_hash: pbRIoJUWtkil5pUsiYQBQr-lYl0lPH6iBq-1BhQP4eg
id: node.book.teaser
targetEntityType: node
bundle: book
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 100
region: content
links:
weight: 101
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -0,0 +1,15 @@
uuid: 91e73596-5358-4e32-944a-12efcbf499e1
langcode: en
status: false
dependencies:
module:
- node
enforced:
module:
- book
_core:
default_config_hash: es9asR8rmvOZwRXJRTBJ1TlLL1hzbVn4ZGuqR1pvU0E
id: node.print
label: Print
targetEntityType: node
cache: true
+1
View File
@@ -12,6 +12,7 @@ module:
betterlogin: 0 betterlogin: 0
block: 0 block: 0
block_class: 0 block_class: 0
book: 0
breakpoint: 0 breakpoint: 0
bulkdelete: 0 bulkdelete: 0
ckeditor: 0 ckeditor: 0
@@ -0,0 +1,25 @@
uuid: 57423834-6256-4d70-a624-57123f41bb0c
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.book
module:
- text
_core:
default_config_hash: 718sPNbCWIXxNeDj1kRMyvll4TdMM9sxlzPrShb1dKU
id: node.book.body
field_name: body
entity_type: node
bundle: book
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
+16
View File
@@ -0,0 +1,16 @@
uuid: 250dbbda-735e-4cab-a0f7-b427162d708b
langcode: en
status: true
dependencies:
enforced:
module:
- book
_core:
default_config_hash: 2gWGA-X4ERc4McStS7cMEG3ZBpDEqfNRDPTjB1v674Y
name: 'Book page'
type: book
description: '<em>Books</em> have a built-in hierarchical navigation. Use for handbooks or tutorials.'
help: ''
new_revision: true
preview_mode: 1
display_submitted: true