partie teaaser display

This commit is contained in:
2026-01-26 10:32:42 +01:00
parent dec9de2644
commit 1159e619a7
36 changed files with 878 additions and 9 deletions

View File

@@ -5,10 +5,15 @@ dependencies:
config:
- field.field.node.partie.body
- field.field.node.partie.field_chapitre
- field.field.node.partie.field_en_pratique
- field.field.node.partie.field_partie
- field.field.node.partie.field_pour_aller_plus_loin
- field.field.node.partie.field_principes_reflexions
- field.field.node.partie.field_ressources
- node.type.partie
module:
- field_group
- paragraphs
- path
- text
third_party_settings:
@@ -16,6 +21,9 @@ third_party_settings:
group_tabs:
children:
- group_corps
- group_principes_reflexion_en_pra
- group_ressources
- group_pour_aller_plus_loin
label: Tabs
region: content
parent_name: ''
@@ -37,7 +45,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 4
weight: 2
format_type: details_sidebar
format_settings:
classes: ''
@@ -64,6 +72,55 @@ third_party_settings:
formatter: open
description: ''
required_fields: true
group_principes_reflexion_en_pra:
children:
- field_principes_reflexions
- field_en_pratique
label: 'Principes/reflexion | En pratique'
region: hidden
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: true
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_ressources:
children:
- field_ressources
label: Ressources
region: hidden
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_pour_aller_plus_loin:
children:
- field_pour_aller_plus_loin
label: 'Pour aller plus loin'
region: hidden
parent_name: group_tabs
weight: 23
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.partie.default
targetEntityType: node
bundle: partie
@@ -89,6 +146,14 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_en_pratique:
type: text_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_partie:
type: number
weight: 4
@@ -96,6 +161,50 @@ content:
settings:
placeholder: 'Partie numéro ...'
third_party_settings: { }
field_pour_aller_plus_loin:
type: paragraphs
weight: 9
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
features:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_principes_reflexions:
type: text_textarea
weight: 3
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_ressources:
type: paragraphs
weight: 8
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
features:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
path:
type: path
weight: 6

View File

@@ -0,0 +1,44 @@
uuid: b4dc6c17-deea-403d-a521-5059ec5f1884
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.complement.field_description
- field.field.paragraph.complement.field_liens
- field.field.paragraph.complement.field_titre
- paragraphs.paragraphs_type.complement
module:
- link
- text
id: paragraph.complement.default
targetEntityType: paragraph
bundle: complement
mode: default
content:
field_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_liens:
type: link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true

View File

@@ -0,0 +1,53 @@
uuid: 99161f82-e3fa-4b00-aec7-52058bcf871e
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.ressource.field_description
- field.field.paragraph.ressource.field_fichiers
- field.field.paragraph.ressource.field_liens
- field.field.paragraph.ressource.field_titre
- paragraphs.paragraphs_type.ressource
module:
- file
- link
- text
id: paragraph.ressource.default
targetEntityType: paragraph
bundle: ressource
mode: default
content:
field_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_fichiers:
type: file_generic
weight: 3
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_liens:
type: link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true

View File

@@ -35,8 +35,8 @@ content:
type: entity_reference_entity_view
label: visually_hidden
settings:
view_mode: default
link: true
view_mode: teaser
link: false
third_party_settings: { }
weight: 2
region: content

View File

@@ -22,12 +22,12 @@ content:
settings:
trim_length: 600
third_party_settings: { }
weight: 101
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
weight: 1
region: content
hidden:
field_chapitre_num: true

View File

@@ -5,9 +5,14 @@ dependencies:
config:
- field.field.node.partie.body
- field.field.node.partie.field_chapitre
- field.field.node.partie.field_en_pratique
- field.field.node.partie.field_partie
- field.field.node.partie.field_pour_aller_plus_loin
- field.field.node.partie.field_principes_reflexions
- field.field.node.partie.field_ressources
- node.type.partie
module:
- entity_reference_revisions
- text
- user
id: node.partie.default
@@ -22,6 +27,13 @@ content:
third_party_settings: { }
weight: 1
region: content
field_en_pratique:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
field_partie:
type: number_integer
label: inline
@@ -31,6 +43,31 @@ content:
third_party_settings: { }
weight: 0
region: content
field_pour_aller_plus_loin:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 6
region: content
field_principes_reflexions:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
field_ressources:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 5
region: content
links:
settings: { }
third_party_settings: { }

View File

@@ -6,7 +6,11 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.partie.body
- field.field.node.partie.field_chapitre
- field.field.node.partie.field_en_pratique
- field.field.node.partie.field_partie
- field.field.node.partie.field_pour_aller_plus_loin
- field.field.node.partie.field_principes_reflexions
- field.field.node.partie.field_ressources
- node.type.partie
module:
- text
@@ -22,15 +26,27 @@ content:
settings:
trim_length: 600
third_party_settings: { }
weight: 101
weight: 1
region: content
field_partie:
type: number_integer
label: inline
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
weight: 2
region: content
hidden:
field_chapitre: true
field_partie: true
field_en_pratique: true
field_pour_aller_plus_loin: true
field_principes_reflexions: true
field_ressources: true
langcode: true
search_api_excerpt: true

View File

@@ -0,0 +1,46 @@
uuid: 9362cdb6-96d2-4276-9025-469bd825b2e9
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.complement.field_description
- field.field.paragraph.complement.field_liens
- field.field.paragraph.complement.field_titre
- paragraphs.paragraphs_type.complement
module:
- link
- text
id: paragraph.complement.default
targetEntityType: paragraph
bundle: complement
mode: default
content:
field_description:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_liens:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 2
region: content
field_titre:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@@ -0,0 +1,56 @@
uuid: 517bb578-dd35-493c-9bd3-9f4081ca1ee1
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.ressource.field_description
- field.field.paragraph.ressource.field_fichiers
- field.field.paragraph.ressource.field_liens
- field.field.paragraph.ressource.field_titre
- paragraphs.paragraphs_type.ressource
module:
- file
- link
- text
id: paragraph.ressource.default
targetEntityType: paragraph
bundle: ressource
mode: default
content:
field_description:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_fichiers:
type: file_default
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 3
region: content
field_liens:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 2
region: content
field_titre:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@@ -0,0 +1,13 @@
uuid: 74f4d612-52d4-4c83-9ae2-b3fb78a6a82b
langcode: en
status: true
dependencies:
module:
- paragraphs
_core:
default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg
id: paragraph.preview
label: Preview
description: ''
targetEntityType: paragraph
cache: true

View File

@@ -44,6 +44,7 @@ module:
entity_block: 0
entity_browser: 0
entity_browser_enhanced: 0
entity_reference_revisions: 0
field: 0
field_group: 0
field_ui: 0
@@ -106,6 +107,7 @@ module:
pathauto: 1
content_translation: 10
views: 10
paragraphs: 11
figli_starter_kit: 1000
theme:
seven: 0

View File

@@ -16,6 +16,13 @@ settings:
- heading
- bold
- italic
- bulletedList
- numberedList
- link
- blockQuote
- indent
- outdent
- showBlocks
plugins:
ckeditor5_heading:
enabled_headings:
@@ -24,5 +31,10 @@ settings:
- heading4
- heading5
- heading6
ckeditor5_list:
properties:
reversed: true
startIndex: true
multiBlock: true
image_upload:
status: false

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.storage.node.body
- filter.format.wysiwyg
- node.type.partie
module:
- text
@@ -20,5 +21,6 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
allowed_formats:
- wysiwyg
field_type: text_with_summary

View File

@@ -0,0 +1,24 @@
uuid: 85e6c3b8-1f71-458e-be84-da6fa1a10109
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_en_pratique
- filter.format.wysiwyg
- node.type.partie
module:
- text
id: node.partie.field_en_pratique
field_name: field_en_pratique
entity_type: node
bundle: partie
label: 'En pratique'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,34 @@
uuid: 5ceb2a40-e781-4210-aa2a-ed5ee78e7be3
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_pour_aller_plus_loin
- node.type.partie
- paragraphs.paragraphs_type.complement
module:
- entity_reference_revisions
id: node.partie.field_pour_aller_plus_loin
field_name: field_pour_aller_plus_loin
entity_type: node
bundle: partie
label: 'Pour aller plus loin'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
complement: complement
negate: 0
target_bundles_drag_drop:
complement:
weight: 3
enabled: true
ressource:
weight: 4
enabled: false
field_type: entity_reference_revisions

View File

@@ -0,0 +1,24 @@
uuid: b31a74e7-2cb4-4264-b699-02fa68e4e5f5
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_principes_reflexions
- filter.format.wysiwyg
- node.type.partie
module:
- text
id: node.partie.field_principes_reflexions
field_name: field_principes_reflexions
entity_type: node
bundle: partie
label: Principes/réflexions
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,31 @@
uuid: 0848b835-508b-4057-8908-1474ec9adebb
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_ressources
- node.type.partie
- paragraphs.paragraphs_type.ressource
module:
- entity_reference_revisions
id: node.partie.field_ressources
field_name: field_ressources
entity_type: node
bundle: partie
label: Ressources
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
ressource: ressource
negate: 0
target_bundles_drag_drop:
ressource:
weight: 2
enabled: true
field_type: entity_reference_revisions

View File

@@ -0,0 +1,24 @@
uuid: caeb8f4d-c0ce-40a2-bf86-5106bd03ddd2
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_description
- filter.format.wysiwyg
- paragraphs.paragraphs_type.complement
module:
- text
id: paragraph.complement.field_description
field_name: field_description
entity_type: paragraph
bundle: complement
label: Description
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,23 @@
uuid: c1bc3397-0345-4589-89fd-4eb7b378c1a2
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_liens
- paragraphs.paragraphs_type.complement
module:
- link
id: paragraph.complement.field_liens
field_name: field_liens
entity_type: paragraph
bundle: complement
label: Liens
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 2
link_type: 17
field_type: link

View File

@@ -0,0 +1,19 @@
uuid: 0167ac61-8aba-4756-aa75-add9b2c85393
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_titre
- paragraphs.paragraphs_type.complement
id: paragraph.complement.field_titre
field_name: field_titre
entity_type: paragraph
bundle: complement
label: Titre
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -0,0 +1,24 @@
uuid: fb67ed86-dbd6-41bf-a938-1d511d4279f1
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_description
- filter.format.wysiwyg
- paragraphs.paragraphs_type.ressource
module:
- text
id: paragraph.ressource.field_description
field_name: field_description
entity_type: paragraph
bundle: ressource
label: Description
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,27 @@
uuid: c52e412c-2557-4629-999e-f1ca9f200401
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_fichiers
- paragraphs.paragraphs_type.ressource
module:
- file
id: paragraph.ressource.field_fichiers
field_name: field_fichiers
entity_type: paragraph
bundle: ressource
label: Fichiers
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: 'pdf doc docx odt png gif jpg jpeg webp'
max_filesize: ''
description_field: true
field_type: file

View File

@@ -0,0 +1,23 @@
uuid: 3be96020-116c-4080-bc45-898cde346c0c
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_liens
- paragraphs.paragraphs_type.ressource
module:
- link
id: paragraph.ressource.field_liens
field_name: field_liens
entity_type: paragraph
bundle: ressource
label: Liens
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 2
link_type: 17
field_type: link

View File

@@ -0,0 +1,19 @@
uuid: f13e87b6-d3c2-4b2d-9511-ca254e9e4cef
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_titre
- paragraphs.paragraphs_type.ressource
id: paragraph.ressource.field_titre
field_name: field_titre
entity_type: paragraph
bundle: ressource
label: Titre
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -0,0 +1,19 @@
uuid: 4fc2fdfa-cd64-461e-853b-d57090a2533d
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_en_pratique
field_name: field_en_pratique
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,21 @@
uuid: ffd71593-a1d0-4799-b189-d66c76698f6b
langcode: fr
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_pour_aller_plus_loin
field_name: field_pour_aller_plus_loin
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

View File

@@ -0,0 +1,19 @@
uuid: d8e465bc-2e05-47ad-8796-0280f295b80f
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_principes_reflexions
field_name: field_principes_reflexions
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,21 @@
uuid: 1ffea0c3-8e9b-4b62-b161-0ddd4c0ef3e0
langcode: fr
status: true
dependencies:
module:
- entity_reference_revisions
- node
- paragraphs
id: node.field_ressources
field_name: field_ressources
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

View File

@@ -0,0 +1,19 @@
uuid: 774dc5de-6138-477e-b7a5-223b9b0d8e37
langcode: fr
status: true
dependencies:
module:
- paragraphs
- text
id: paragraph.field_description
field_name: field_description
entity_type: paragraph
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,23 @@
uuid: 86e1055b-1a21-4939-936b-ba41b08bfc96
langcode: fr
status: true
dependencies:
module:
- file
- paragraphs
id: paragraph.field_fichiers
field_name: field_fichiers
entity_type: paragraph
type: file
settings:
target_type: file
display_field: true
display_default: true
uri_scheme: public
module: file
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: 204c108b-48af-4df0-9373-0affb42f6a57
langcode: fr
status: true
dependencies:
module:
- link
- paragraphs
id: paragraph.field_liens
field_name: field_liens
entity_type: paragraph
type: link
settings: { }
module: link
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,21 @@
uuid: ecf7e8b1-c677-4b36-9285-f2fe35453f34
langcode: fr
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_titre
field_name: field_titre
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -4,6 +4,8 @@ status: true
dependencies:
module:
- editor
- linkit
- pathologic
_core:
default_config_hash: a0dSxrd1nnzeSvKpvFmtoLpxDd3Nj6E7dQN-MZUi20g
name: wysiwyg
@@ -61,6 +63,17 @@ filters:
status: true
weight: -47
settings: { }
filter_pathologic:
id: filter_pathologic
provider: pathologic
status: false
weight: 50
settings:
settings_source: global
local_settings:
protocol_style: full
local_paths: ''
keep_language_prefix: true
filter_url:
id: filter_url
provider: filter
@@ -68,3 +81,10 @@ filters:
weight: -45
settings:
filter_url_length: 72
linkit:
id: linkit
provider: linkit
status: false
weight: 0
settings:
title: true

View File

@@ -0,0 +1,11 @@
uuid: 97617c3c-f9fc-4008-adaa-f319af9616be
langcode: fr
status: true
dependencies: { }
id: complement
label: Complément
icon_uuid: null
icon_default: null
description: ''
save_empty: false
behavior_plugins: { }

View File

@@ -0,0 +1,11 @@
uuid: 926dd7c1-625e-4eac-afc8-81698ba0119d
langcode: fr
status: true
dependencies: { }
id: ressource
label: Ressource
icon_uuid: null
icon_default: null
description: ''
save_empty: false
behavior_plugins: { }

View File

@@ -0,0 +1,3 @@
_core:
default_config_hash: 7eR0sk71Eol86r_A7BMqn5_46wzenh5J1O5vZRCGKv8
show_unpublished: true