added book module
This commit is contained in:
@@ -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: 80d052ee-8fff-4490-9996-a2f0289cf8f7
|
||||
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: 8c9876a5-40ba-40bc-837d-b29a4a441b29
|
||||
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: ad519a4e-4bd9-436f-8290-4edf24cebbc0
|
||||
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: b3475a4f-bb2a-4657-a7b3-bdbcfbe448eb
|
||||
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: 650312cd-a011-414a-a0be-a5558fc86290
|
||||
langcode: en
|
||||
status: false
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
enforced:
|
||||
module:
|
||||
- book
|
||||
_core:
|
||||
default_config_hash: es9asR8rmvOZwRXJRTBJ1TlLL1hzbVn4ZGuqR1pvU0E
|
||||
id: node.print
|
||||
label: Print
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
@@ -12,6 +12,7 @@ module:
|
||||
betterlogin: 0
|
||||
block: 0
|
||||
block_class: 0
|
||||
book: 0
|
||||
breakpoint: 0
|
||||
bulkdelete: 0
|
||||
ckeditor: 0
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
uuid: 476da091-88a0-4d31-a430-70c8f33a744f
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
uuid: 9b0dd004-98ba-4cf1-becf-177beecfa616
|
||||
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
|
||||
Reference in New Issue
Block a user