field titre in entretien

This commit is contained in:
Bachir Soussi Chiadmi 2024-10-10 15:59:18 +02:00
parent febefcc2e2
commit d1b135412f
3 changed files with 55 additions and 18 deletions

View File

@ -5,6 +5,7 @@ dependencies:
config:
- field.field.paragraph.entretien.field_personne_s
- field.field.paragraph.entretien.field_questions_reponses
- field.field.paragraph.entretien.field_titre
- paragraphs.paragraphs_type.entretien
module:
- paragraphs
@ -14,24 +15,6 @@ bundle: entretien
mode: default
content:
field_personne_s:
type: paragraphs
weight: 0
region: content
settings:
title: Paragraphe
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_questions_reponses:
type: paragraphs
weight: 1
region: content
@ -49,6 +32,32 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_questions_reponses:
type: paragraphs
weight: 2
region: content
settings:
title: Paragraphe
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_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true

View File

@ -5,6 +5,7 @@ dependencies:
config:
- field.field.paragraph.entretien.field_personne_s
- field.field.paragraph.entretien.field_questions_reponses
- field.field.paragraph.entretien.field_titre
- paragraphs.paragraphs_type.entretien
module:
- entity_reference_revisions
@ -31,5 +32,13 @@ content:
third_party_settings: { }
weight: 1
region: content
field_titre:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@ -0,0 +1,19 @@
uuid: b0721237-f719-4d81-be40-762ab848a659
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_titre
- paragraphs.paragraphs_type.entretien
id: paragraph.entretien.field_titre
field_name: field_titre
entity_type: paragraph
bundle: entretien
label: Titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string