This commit is contained in:
2023-11-06 10:50:13 +01:00
parent f6221293c6
commit 8570ab6d8b
56 changed files with 1252 additions and 860 deletions
@@ -1,18 +0,0 @@
uuid: ce9c5938-adb4-447f-af47-2054120e32e1
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.chapitre
id: paragraph.chapitre.created
field_name: created
entity_type: paragraph
bundle: chapitre
label: 'Authored on'
description: 'The time that the Paragraph was created.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created
@@ -1,22 +0,0 @@
uuid: 44b28d68-6848-4366-be20-27f60dbe4e23
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.chapitre
id: paragraph.chapitre.status
field_name: status
entity_type: paragraph
bundle: chapitre
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
@@ -3,24 +3,14 @@ langcode: fr
status: true
dependencies:
config:
- field.field.node.book.body
- field.field.node.book.field_article
- field.field.node.book.field_articles
- field.field.node.book.field_bookpage_subheading
- field.field.node.book.field_image
- field.field.node.book.field_parent_book
- field.field.node.book.field_subheading
- field.field.node.book.field_tablefield
- field.field.node.book.field_text
- node.type.book
module:
- advanced_text_formatter
- field_layout
- layout_discovery
- maxlength
- paragraphs
- path
- text
third_party_settings:
field_layout:
id: layout_onecol
@@ -58,20 +48,6 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_bookpage_subheading:
type: text_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
field_parent_book:
type: options_select
weight: 2
@@ -140,10 +116,4 @@ content:
region: content
settings: { }
third_party_settings: { }
hidden:
body: true
field_articles: true
field_image: true
field_subheading: true
field_tablefield: true
field_text: true
hidden: { }
@@ -1,58 +0,0 @@
uuid: b5dd0cab-0a8b-4387-b28c-e99198c13585
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.chapitre.field_chapitre
- field.field.paragraph.chapitre.field_titre_chapitre
- paragraphs.paragraphs_type.chapitre
module:
- field_layout
- layout_discovery
- paragraphs
- text
third_party_settings:
field_layout:
id: layout_onecol
settings:
label: ''
id: paragraph.chapitre.default
targetEntityType: paragraph
bundle: chapitre
mode: default
content:
field_chapitre:
type: paragraphs
weight: 1
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: button
form_display_mode: default
default_paragraph_type: paragraph_titre
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_titre_chapitre:
type: text_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 2
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
@@ -0,0 +1,43 @@
uuid: 69fcf416-c4ed-46d4-b75a-c2e714b63e1c
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.images_two_col.field_image_left
- field.field.paragraph.images_two_col.field_image_right
- image.style.thumbnail
- paragraphs.paragraphs_type.images_two_col
module:
- field_layout
- image
- layout_builder
third_party_settings:
field_layout:
id: layout_twocol_section
settings:
label: ''
column_widths: 50-50
id: paragraph.images_two_col.default
targetEntityType: paragraph
bundle: images_two_col
mode: default
content:
field_image_left:
type: image_image
weight: 2
region: first
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_image_right:
type: image_image
weight: 1
region: second
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
hidden:
created: true
status: true
@@ -0,0 +1,39 @@
uuid: a3a87711-f739-4945-92b7-64efbbfbaf71
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.tablefields_two_col.field_tablefield_left
- field.field.paragraph.tablefields_two_col.field_tablefield_right
- paragraphs.paragraphs_type.tablefields_two_col
module:
- field_layout
- layout_discovery
- tablefield
third_party_settings:
field_layout:
id: layout_onecol
settings:
label: ''
id: paragraph.tablefields_two_col.default
targetEntityType: paragraph
bundle: tablefields_two_col
mode: default
content:
field_tablefield_left:
type: tablefield
weight: 0
region: content
settings:
input_type: textfield
third_party_settings: { }
field_tablefield_right:
type: tablefield
weight: 1
region: content
settings:
input_type: textfield
third_party_settings: { }
hidden:
created: true
status: true
@@ -3,20 +3,12 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.book.body
- field.field.node.book.field_article
- field.field.node.book.field_articles
- field.field.node.book.field_bookpage_subheading
- field.field.node.book.field_image
- field.field.node.book.field_parent_book
- field.field.node.book.field_subheading
- field.field.node.book.field_tablefield
- field.field.node.book.field_text
- node.type.book
module:
- entity_reference_revisions
- layout_builder
- text
- user
third_party_settings:
layout_builder:
@@ -29,13 +21,6 @@ targetEntityType: node
bundle: book
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_article:
type: entity_reference_revisions_entity_view
label: above
@@ -45,31 +30,6 @@ content:
third_party_settings: { }
weight: 8
region: content
field_articles:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 3
region: content
field_bookpage_subheading:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content
field_image:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 5
region: content
field_parent_book:
type: entity_reference_label
label: above
@@ -78,33 +38,6 @@ content:
third_party_settings: { }
weight: 9
region: content
field_subheading:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 4
region: content
field_tablefield:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 7
region: content
field_text:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 6
region: content
links:
settings: { }
third_party_settings: { }
@@ -4,20 +4,11 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.book.body
- field.field.node.book.field_article
- field.field.node.book.field_articles
- field.field.node.book.field_bookpage_subheading
- field.field.node.book.field_image
- field.field.node.book.field_parent_book
- field.field.node.book.field_subheading
- field.field.node.book.field_tablefield
- field.field.node.book.field_text
- node.type.book
module:
- entity_reference_revisions
- layout_builder
- text
- user
third_party_settings:
layout_builder:
@@ -30,22 +21,6 @@ targetEntityType: node
bundle: book
mode: full
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 100
region: content
field_articles:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 104
region: content
links:
settings: { }
third_party_settings: { }
@@ -53,11 +28,6 @@ content:
region: content
hidden:
field_article: true
field_bookpage_subheading: true
field_image: true
field_parent_book: true
field_subheading: true
field_tablefield: true
field_text: true
langcode: true
search_api_excerpt: true
@@ -4,20 +4,11 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.book.body
- field.field.node.book.field_article
- field.field.node.book.field_articles
- field.field.node.book.field_bookpage_subheading
- field.field.node.book.field_image
- field.field.node.book.field_parent_book
- field.field.node.book.field_subheading
- field.field.node.book.field_tablefield
- field.field.node.book.field_text
- node.type.book
module:
- entity_reference_revisions
- layout_builder
- text
- user
third_party_settings:
layout_builder:
@@ -30,23 +21,6 @@ targetEntityType: node
bundle: book
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 0
region: content
field_articles:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 2
region: content
links:
settings: { }
third_party_settings: { }
@@ -54,11 +28,6 @@ content:
region: content
hidden:
field_article: true
field_bookpage_subheading: true
field_image: true
field_parent_book: true
field_subheading: true
field_tablefield: true
field_text: true
langcode: true
search_api_excerpt: true
@@ -1,34 +0,0 @@
uuid: fdddf8df-461f-4c01-8663-8a48d9b5d157
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.chapitre.field_chapitre
- field.field.paragraph.chapitre.field_titre_chapitre
- paragraphs.paragraphs_type.chapitre
module:
- entity_reference_revisions
- text
id: paragraph.chapitre.default
targetEntityType: paragraph
bundle: chapitre
mode: default
content:
field_chapitre:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 0
region: content
field_titre_chapitre:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
@@ -0,0 +1,39 @@
uuid: 15601782-dbe7-48a7-b7fa-f3dad9e8e730
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.images_two_col.field_image_left
- field.field.paragraph.images_two_col.field_image_right
- paragraphs.paragraphs_type.images_two_col
module:
- image
id: paragraph.images_two_col.default
targetEntityType: paragraph
bundle: images_two_col
mode: default
content:
field_image_left:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 2
region: content
field_image_right:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
@@ -0,0 +1,45 @@
uuid: 21033c17-3ad4-4b11-951f-39a2a19dbf42
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.preview
- field.field.paragraph.images_two_col.field_image_left
- field.field.paragraph.images_two_col.field_image_right
- paragraphs.paragraphs_type.images_two_col
module:
- image
- layout_builder
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
id: paragraph.images_two_col.preview
targetEntityType: paragraph
bundle: images_two_col
mode: preview
content:
field_image_left:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 2
region: content
field_image_right:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
@@ -0,0 +1,35 @@
uuid: de43837c-11d5-4f4f-a8b8-5837b81ec4eb
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.tablefields_two_col.field_tablefield_left
- field.field.paragraph.tablefields_two_col.field_tablefield_right
- paragraphs.paragraphs_type.tablefields_two_col
module:
- tablefield
id: paragraph.tablefields_two_col.default
targetEntityType: paragraph
bundle: tablefields_two_col
mode: default
content:
field_tablefield_left:
type: tablefield
label: above
settings:
row_header: true
column_header: false
third_party_settings: { }
weight: 0
region: content
field_tablefield_right:
type: tablefield
label: above
settings:
row_header: true
column_header: false
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
+1 -1
View File
@@ -39,7 +39,7 @@ settings:
plugins:
drupallink:
linkit_enabled: false
linkit_profile: ''
linkit_profile: default
image_upload:
status: false
scheme: public
+5 -2
View File
@@ -25,7 +25,6 @@ settings:
- Superscript
- Underline
- SpecialChar
- Format
- Language
-
name: Liens
@@ -59,11 +58,15 @@ settings:
name: footnote
items:
- footnotes
-
name: Math
items:
- ckeditor_wiris_formulaEditor
plugins:
language:
language_list: un
stylescombo:
styles: "h4.inter-titre|Inter-titre\r\nh1.title-part|part's title\r\np.quote|Quote\r\np.epigraph|Epigraph"
styles: "h4.title-niv4|title niv4\r\nh5.title-niv5|title niv5\r\nh6.title-niv6|title niv6\r\nh7.intertitre-niv7|Intertitre niv7\r\np.quote|Quote\r\np.psychologist-instruction|Psychologist Instruction\r\np.note | Note\r\nh8.note-title | Note Title\r\np.caution | Caution\r\nh9.caution-title | Caution Title\r\n\r\np.liste-tiret | Liste tiret"
drupallink:
linkit_enabled: true
linkit_profile: default
@@ -1,25 +0,0 @@
uuid: 476da091-88a0-4d31-a430-70c8f33a744f
langcode: fr
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
@@ -6,8 +6,9 @@ dependencies:
- field.storage.node.field_article
- node.type.book
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.subheading
- paragraphs.paragraphs_type.images_two_col
- paragraphs.paragraphs_type.tablefield
- paragraphs.paragraphs_type.tablefields_two_col
- paragraphs.paragraphs_type.text
module:
- entity_reference_revisions
@@ -25,10 +26,11 @@ settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
subheading: subheading
text: text
image: image
tablefield: tablefield
images_two_col: images_two_col
tablefields_two_col: tablefields_two_col
negate: 0
target_bundles_drag_drop:
article:
@@ -40,12 +42,18 @@ settings:
image:
weight: -10
enabled: true
images_two_col:
weight: 12
enabled: true
subheading:
weight: -12
enabled: true
enabled: false
tablefield:
weight: -9
enabled: true
tablefields_two_col:
weight: 16
enabled: true
text:
weight: -11
enabled: true
@@ -1,52 +0,0 @@
uuid: 0a631bd4-a1e5-4bf2-ab5a-519fab52871c
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_articles
- node.type.book
- paragraphs.paragraphs_type.article
module:
- entity_reference_revisions
id: node.book.field_articles
field_name: field_articles
entity_type: node
bundle: book
label: Articles
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
article: article
negate: 0
target_bundles_drag_drop:
article:
weight: 9
enabled: true
article_2:
weight: 10
enabled: false
chapitre:
weight: 11
enabled: false
image:
weight: 12
enabled: false
subheading:
weight: 13
enabled: false
tablefield:
weight: 14
enabled: false
texte:
weight: 15
enabled: false
title:
weight: 16
enabled: false
field_type: entity_reference_revisions
@@ -1,21 +0,0 @@
uuid: dedc9ff2-0efc-42ce-bb75-225e31b45824
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_bookpage_subheading
- node.type.book
module:
- text
id: node.book.field_bookpage_subheading
field_name: field_bookpage_subheading
entity_type: node
bundle: book
label: SubHeading
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text
@@ -1,49 +0,0 @@
uuid: f47eb50d-25a3-462f-ae9b-d5cd3d97009d
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.book
- paragraphs.paragraphs_type.image
module:
- entity_reference_revisions
id: node.book.field_image
field_name: field_image
entity_type: node
bundle: book
label: Image
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
image: image
negate: 0
target_bundles_drag_drop:
article:
weight: 8
enabled: false
chapitre:
weight: 9
enabled: false
image:
weight: 10
enabled: true
subheading:
weight: 11
enabled: false
tablefield:
weight: 12
enabled: false
text:
weight: 13
enabled: false
title:
weight: 14
enabled: false
field_type: entity_reference_revisions
@@ -5,6 +5,7 @@ dependencies:
config:
- field.storage.node.field_parent_book
- node.type.book
- taxonomy.vocabulary.book
id: node.book.field_parent_book
field_name: field_parent_book
entity_type: node
@@ -17,5 +18,12 @@ default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings: { }
handler_settings:
target_bundles:
book: book
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
@@ -1,49 +0,0 @@
uuid: 36d217ba-0cbc-4726-9310-7bf6231d7f78
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_subheading
- node.type.book
- paragraphs.paragraphs_type.subheading
module:
- entity_reference_revisions
id: node.book.field_subheading
field_name: field_subheading
entity_type: node
bundle: book
label: Subheading
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
subheading: subheading
negate: 0
target_bundles_drag_drop:
article:
weight: 8
enabled: false
chapitre:
weight: 9
enabled: false
image:
weight: 10
enabled: false
subheading:
weight: 11
enabled: true
tablefield:
weight: 12
enabled: false
text:
weight: 13
enabled: false
title:
weight: 14
enabled: false
field_type: entity_reference_revisions
@@ -1,49 +0,0 @@
uuid: f8bb0cc4-2f4c-4e97-8bb4-2c9b95a8481b
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_tablefield
- node.type.book
- paragraphs.paragraphs_type.tablefield
module:
- entity_reference_revisions
id: node.book.field_tablefield
field_name: field_tablefield
entity_type: node
bundle: book
label: Tablefield
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
tablefield: tablefield
negate: 0
target_bundles_drag_drop:
article:
weight: 8
enabled: false
chapitre:
weight: 9
enabled: false
image:
weight: 10
enabled: false
subheading:
weight: 11
enabled: false
tablefield:
weight: 12
enabled: true
text:
weight: 13
enabled: false
title:
weight: 14
enabled: false
field_type: entity_reference_revisions
@@ -1,49 +0,0 @@
uuid: 80108781-8eb8-488b-9f61-52a643fa05ba
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_text
- node.type.book
- paragraphs.paragraphs_type.text
module:
- entity_reference_revisions
id: node.book.field_text
field_name: field_text
entity_type: node
bundle: book
label: Text
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
text: text
negate: 0
target_bundles_drag_drop:
article:
weight: 8
enabled: false
chapitre:
weight: 9
enabled: false
image:
weight: 10
enabled: false
subheading:
weight: 11
enabled: false
tablefield:
weight: 12
enabled: false
text:
weight: 13
enabled: true
title:
weight: 14
enabled: false
field_type: entity_reference_revisions
@@ -6,7 +6,7 @@ dependencies:
- field.storage.paragraph.field_article
- paragraphs.paragraphs_type.article
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.subheading
- paragraphs.paragraphs_type.images_two_col
- paragraphs.paragraphs_type.tablefield
- paragraphs.paragraphs_type.text
- paragraphs.paragraphs_type.title
@@ -28,7 +28,7 @@ settings:
target_bundles:
title: title
image: image
subheading: subheading
images_two_col: images_two_col
tablefield: tablefield
text: text
negate: 0
@@ -36,18 +36,18 @@ settings:
article:
weight: -17
enabled: false
article_2:
weight: -16
enabled: false
chapitre:
weight: -15
enabled: false
image:
weight: -11
enabled: true
images_two_col:
weight: 12
enabled: true
subheading:
weight: 13
enabled: true
enabled: false
tablefield:
weight: 14
enabled: true
@@ -1,44 +0,0 @@
uuid: 50c86302-6e93-4860-8dbf-fa332b6a823d
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_chapitre
- paragraphs.paragraphs_type.chapitre
module:
- entity_reference_revisions
id: paragraph.chapitre.field_chapitre
field_name: field_chapitre
entity_type: paragraph
bundle: chapitre
label: chapitre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles: { }
negate: 0
target_bundles_drag_drop:
chapitre:
weight: 7
enabled: false
image:
weight: 8
enabled: true
paragraph_tableau:
weight: 9
enabled: true
paragraph_titre:
weight: 11
enabled: true
sous_titre:
weight: 12
enabled: true
texte:
weight: 12
enabled: true
field_type: entity_reference_revisions
@@ -1,21 +0,0 @@
uuid: bbfa6e4a-8426-4c74-847f-2b5ecd93390e
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_titre_chapitre
- paragraphs.paragraphs_type.chapitre
module:
- text
id: paragraph.chapitre.field_titre_chapitre
field_name: field_titre_chapitre
entity_type: paragraph
bundle: chapitre
label: Titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text
@@ -0,0 +1,38 @@
uuid: 3c4e7bf4-90c9-44e5-bccf-27952a857f9a
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_image_left
- paragraphs.paragraphs_type.images_two_col
module:
- image
id: paragraph.images_two_col.field_image_left
field_name: field_image_left
entity_type: paragraph
bundle: images_two_col
label: image-left
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: true
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
field_type: image
@@ -0,0 +1,38 @@
uuid: f376088f-b4b1-4c1f-8859-e1c71d45849e
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_image_right
- paragraphs.paragraphs_type.images_two_col
module:
- image
id: paragraph.images_two_col.field_image_right
field_name: field_image_right
entity_type: paragraph
bundle: images_two_col
label: image-right
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: true
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
field_type: image
@@ -0,0 +1,78 @@
uuid: d119e246-459a-4c7e-8b39-c912d105a23b
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_tablefield_left
- paragraphs.paragraphs_type.tablefields_two_col
module:
- tablefield
- tablefield_required
third_party_settings:
tablefield_required:
required_rows: ''
required_cols: ''
multivalue_inherit: false
id: paragraph.tablefields_two_col.field_tablefield_left
field_name: field_tablefield_left
entity_type: paragraph
bundle: tablefields_two_col
label: tablefield-left
description: ''
required: false
translatable: false
default_value:
-
rebuild:
cols: '5'
rows: '5'
value:
0:
weight: '0'
0: ''
1: ''
2: ''
3: ''
4: ''
1:
weight: '1'
0: ''
1: ''
2: ''
3: ''
4: ''
2:
weight: '2'
0: ''
1: ''
2: ''
3: ''
4: ''
3:
weight: '3'
0: ''
1: ''
2: ''
3: ''
4: ''
4:
weight: '4'
0: ''
1: ''
2: ''
3: ''
4: ''
caption: ''
format: null
caption: ''
default_value_callback: ''
settings:
export: false
restrict_rebuild: true
restrict_import: true
lock_values: false
cell_processing: 1
empty_rules:
ignore_table_structure: false
ignore_table_header: false
field_type: tablefield
@@ -0,0 +1,78 @@
uuid: 30148cba-293f-4a76-919c-b65e14bed675
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_tablefield_right
- paragraphs.paragraphs_type.tablefields_two_col
module:
- tablefield
- tablefield_required
third_party_settings:
tablefield_required:
required_rows: ''
required_cols: ''
multivalue_inherit: false
id: paragraph.tablefields_two_col.field_tablefield_right
field_name: field_tablefield_right
entity_type: paragraph
bundle: tablefields_two_col
label: tablefield-right
description: ''
required: false
translatable: false
default_value:
-
rebuild:
cols: '5'
rows: '5'
value:
0:
weight: '0'
0: ''
1: ''
2: ''
3: ''
4: ''
1:
weight: '1'
0: ''
1: ''
2: ''
3: ''
4: ''
2:
weight: '2'
0: ''
1: ''
2: ''
3: ''
4: ''
3:
weight: '3'
0: ''
1: ''
2: ''
3: ''
4: ''
4:
weight: '4'
0: ''
1: ''
2: ''
3: ''
4: ''
caption: ''
format: null
caption: ''
default_value_callback: ''
settings:
export: false
restrict_rebuild: true
restrict_import: true
lock_values: false
cell_processing: 1
empty_rules:
ignore_table_structure: false
ignore_table_header: false
field_type: tablefield
@@ -1,21 +0,0 @@
uuid: 326c4219-61aa-4306-876c-2e0c49f3adfd
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_articles
field_name: field_articles
entity_type: node
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,20 +0,0 @@
uuid: 848bc9ff-51f8-4492-840c-0bbc5f83bbc5
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_bookpage_subheading
field_name: field_bookpage_subheading
entity_type: node
type: text
settings:
max_length: 255
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,21 +0,0 @@
uuid: 98e3a681-3df7-4058-adc9-4f9c06bef80c
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_image
field_name: field_image
entity_type: node
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,21 +0,0 @@
uuid: 1e129d5f-ee04-4963-9455-7c29ab099a8a
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_subheading
field_name: field_subheading
entity_type: node
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,21 +0,0 @@
uuid: c7cd45c5-ff8c-4da4-996d-fcba9e2989b2
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_tablefield
field_name: field_tablefield
entity_type: node
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,21 +0,0 @@
uuid: 5648fd9e-4ea0-45d5-8cfb-a28d8f6f77ce
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_text
field_name: field_text
entity_type: node
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,20 +0,0 @@
uuid: 24f5a5e5-2cde-49d9-ba18-9837c6526ac4
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- paragraphs
id: paragraph.field_chapitre
field_name: field_chapitre
entity_type: paragraph
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,30 @@
uuid: 4155e8a5-59d3-4b8a-9c1b-a595bab3758d
langcode: fr
status: true
dependencies:
module:
- file
- image
- paragraphs
id: paragraph.field_image_left
field_name: field_image_left
entity_type: paragraph
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,30 @@
uuid: 788c59ea-5b4e-456c-a1d7-ff288e895485
langcode: fr
status: true
dependencies:
module:
- file
- image
- paragraphs
id: paragraph.field_image_right
field_name: field_image_right
entity_type: paragraph
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,19 @@
uuid: 73149ac1-1cbd-4fdb-bb35-b6c091ceb2c9
langcode: fr
status: true
dependencies:
module:
- paragraphs
- tablefield
id: paragraph.field_tablefield_left
field_name: field_tablefield_left
entity_type: paragraph
type: tablefield
settings: { }
module: tablefield
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,19 @@
uuid: 9bb89331-3ad7-495c-ba10-90b1264c7430
langcode: fr
status: true
dependencies:
module:
- paragraphs
- tablefield
id: paragraph.field_tablefield_right
field_name: field_tablefield_right
entity_type: paragraph
type: tablefield
settings: { }
module: tablefield
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -1,20 +0,0 @@
uuid: 53e1c13c-0940-4963-8ba8-31cd9bb4e8af
langcode: en
status: true
dependencies:
module:
- paragraphs
- text
id: paragraph.field_titre_chapitre
field_name: field_titre_chapitre
entity_type: paragraph
type: text
settings:
max_length: 255
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
+4 -4
View File
@@ -7,7 +7,7 @@ dependencies:
- url_to_video_filter
name: tablecell
format: tablecell
weight: 0
weight: 1
filters:
filter_html:
id: filter_html
@@ -15,8 +15,8 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<em><strong><br>'
filter_html_help: true
allowed_html: '<em> <strong> <br> <a href> <ul> <li> <ol> <blockquote> <img src alt data-entity-type data-entity-uuid>'
filter_html_help: false
filter_html_nofollow: false
filter_autop:
id: filter_autop
@@ -40,5 +40,5 @@ filters:
settings:
youtube: '1'
youtube_webp_preview: '0'
vimeo: '1'
autoload: '0'
vimeo: '1'
+1 -1
View File
@@ -51,7 +51,7 @@ filters:
status: false
weight: -42
settings:
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol type start> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <pre> <h4 id class="inter-titre"> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <sub> <sup> <h1 class="title-part"> <p class="quote epigraph"> <span dir lang> <img src alt data-entity-type data-entity-uuid data-entity-substitution data-align data-caption> <fn>'
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol type start> <li> <dl> <dt> <dd> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <pre> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <sub> <sup> <span dir lang> <img src alt data-entity-type data-entity-uuid data-entity-substitution data-align data-caption> <fn> <h1 class="title-part title-part-niv1"> <h2 id class="title-part-niv2"> <h3 id class="title-part-niv3"> <h4 id class="inter-titre title-part-niv4 title-niv4"> <h5 id class="inter-titre title-niv5"> <h6 id class="title-part-niv6 title-niv6"> <h7 class="title-part-niv7 title-niv7 intertitre-niv7"> <h8 class="note-title "> <h9 class="caution-title "> <p class="quote epigraph quote epigraph encadre quote psychologist-instruction note caution quote psychologist-instruction note caution liste-tiret ">'
filter_html_help: true
filter_html_nofollow: false
filter_align:
@@ -1,18 +0,0 @@
uuid: cfe4cbb5-7a97-49fe-b25f-154d86bf29bd
langcode: en
status: true
dependencies:
config:
- paragraphs.paragraphs_type.chapitre
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: paragraph.chapitre
target_entity_type_id: paragraph
target_bundle: chapitre
default_langcode: site_default
language_alterable: false
@@ -1 +0,0 @@
label: Body
@@ -1,9 +1,9 @@
uuid: 9c863e18-a58f-4538-8017-8bf052d5fecd
langcode: en
uuid: 5e42b00c-3d2c-431c-9a0f-700720d9c03b
langcode: fr
status: true
dependencies: { }
id: chapitre
label: Chapitre
id: images_two_col
label: Images-two-col
icon_uuid: null
icon_default: null
description: ''
@@ -0,0 +1,10 @@
uuid: c57b888f-4a43-45a5-adc5-f6e991b9d32d
langcode: fr
status: true
dependencies: { }
id: tablefields_two_col
label: tablefields-two-col
icon_uuid: null
icon_default: null
description: 'pour les petits tableaux à voir côte à côte'
behavior_plugins: { }
+2
View File
@@ -3,6 +3,7 @@ langcode: fr
status: true
dependencies:
config:
- filter.format.tablecell
- filter.format.wysiwyg
module:
- devel
@@ -23,6 +24,7 @@ permissions:
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create generique workflow_transition'
- 'use text format tablecell'
- 'use text format wysiwyg'
- 'view published fil entities'
- 'view search api pages'
+2
View File
@@ -3,6 +3,7 @@ langcode: fr
status: true
dependencies:
config:
- filter.format.tablecell
- filter.format.wysiwyg
module:
- devel
@@ -32,6 +33,7 @@ permissions:
- 'edit own fil entities'
- 'opt-in or out of matomo tracking'
- 'use chutier'
- 'use text format tablecell'
- 'use text format wysiwyg'
- 'view own unpublished chutier entities'
- 'view own unpublished composition entities'
+2
View File
@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- filter.format.tablecell
- filter.format.wysiwyg
- node.type.book
- node.type.static
module:
@@ -52,6 +53,7 @@ permissions:
- 'translate user'
- 'update content translations'
- 'use text format tablecell'
- 'use text format wysiwyg'
- 'view book revisions'
- 'view own unpublished content'
- 'view static revisions'
+2
View File
@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- filter.format.tablecell
- filter.format.wysiwyg
- node.type.book
- node.type.static
module:
@@ -37,5 +38,6 @@ permissions:
- 'translate user'
- 'update content translations'
- 'use text format tablecell'
- 'use text format wysiwyg'
- 'view own unpublished content'
- 'view the administration theme'
+643
View File
@@ -0,0 +1,643 @@
uuid: 0ca1f33e-d510-434d-bcba-120577923a37
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_parent_book
module:
- book
- node
- user
id: viewed_by_book
label: 'viewed by book'
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'viewed by book'
fields:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
depth:
id: depth
table: book
field: depth
relationship: none
group_type: group
admin_label: ''
plugin_id: numeric
label: Depth
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
set_precision: false
precision: 0
decimal: .
separator: ','
format_plural: false
format_plural_string: !!binary MQNAY291bnQ=
prefix: ''
suffix: ''
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: pid
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: field
label: 'Translation language'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: language
settings:
link_to_entity: false
native_language: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
content_translation_outdated:
id: content_translation_outdated
table: node_field_data
field: content_translation_outdated
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: content_translation_outdated
plugin_id: field
label: 'Translation outdated'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: boolean
settings:
format: default
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_parent_book:
id: field_parent_book
table: node__field_parent_book
field: field_parent_book
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Parent Book'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
offset: 0
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: pid
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments:
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: pid
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
all: all
'***LANGUAGE_site_default***': '***LANGUAGE_site_default***'
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
en: en
fr: fr
ja: ja
und: und
zxx: zxx
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: table
options:
grouping:
-
field: field_parent_book
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
columns:
title: title
depth: depth
has_children: has_children
field_parent_book: field_parent_book
langcode: langcode
content_translation_outdated: content_translation_outdated
default: '-1'
info:
title:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
depth:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
has_children:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_parent_book:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
langcode:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
content_translation_outdated:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
pid:
id: pid
table: book
field: pid
relationship: none
group_type: group
admin_label: 'Book Parent'
plugin_id: standard
required: true
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_parent_book'
block_1:
id: block_1
display_title: Block
display_plugin: block
position: 1
display_options:
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_parent_book'
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 2
display_options:
display_description: ''
display_extenders: { }
path: admin/content/view_by_book
menu:
type: tab
title: 'by book'
description: ''
weight: 0
expanded: false
menu_name: admin
parent: ''
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_parent_book'
+17 -4
View File
@@ -37,13 +37,25 @@ function rorschach_preprocess_field(&$variables) {
$field_name = &$variables['field_name'];
if($node) {
if ($field_name == 'field_type_de_protagoniste'){
$type_protagoniste = $node->get('field_type_de_protagoniste')->getString();
$variables['attributes']['class'][] = 'type-de-protagoniste-' . $type_protagoniste;
}
// if ($field_name == 'field_type_de_protagoniste'){
// $type_protagoniste = $node->get('field_type_de_protagoniste')->getString();
// $variables['attributes']['class'][] = 'type-de-protagoniste-' . $type_protagoniste;
// }
if ($field_name == 'block-pagetitle-2') {
$depth_title = $node->get('block-pagetitle-2')->getString();
$variables['classes_array'][] = "menu-depth-" . $depth_title;
}
}
}
//////////////////////////////////////////////////
// $variables['classes_array'][] = "menu-depth-" . $depth;
//////////////////////////////////////////////////
// function rorschach_preprocess_field(&$variables){
@@ -121,3 +133,4 @@ function rorschach_preprocess_field(&$variables) {
// static $counter = 0;
// $vars['counter'] = $counter++;
// }
@@ -156,3 +156,4 @@ jQuery(function($) {
// ///////////////////////////////