type d'étape déroulement

This commit is contained in:
Bachir Soussi Chiadmi 2024-07-05 09:59:18 +02:00
parent 5fda2e9cf1
commit 2cd5a7812b
4 changed files with 69 additions and 2 deletions

View File

@ -11,6 +11,7 @@ dependencies:
- field.field.paragraph.phase_deroulement.field_date_de_moi
- field.field.paragraph.phase_deroulement.field_description
- field.field.paragraph.phase_deroulement.field_titre
- field.field.paragraph.phase_deroulement.field_type
- paragraphs.paragraphs_type.phase_deroulement
module:
- text
@ -69,7 +70,7 @@ content:
third_party_settings: { }
field_description:
type: text_textarea
weight: 7
weight: 8
region: content
settings:
rows: 5
@ -83,6 +84,12 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_type:
type: options_select
weight: 7
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true

View File

@ -11,8 +11,10 @@ dependencies:
- field.field.paragraph.phase_deroulement.field_date_de_moi
- field.field.paragraph.phase_deroulement.field_description
- field.field.paragraph.phase_deroulement.field_titre
- field.field.paragraph.phase_deroulement.field_type
- paragraphs.paragraphs_type.phase_deroulement
module:
- options
- text
id: paragraph.phase_deroulement.default
targetEntityType: paragraph
@ -69,7 +71,7 @@ content:
region: content
field_description:
type: text_default
label: above
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 7
@ -82,5 +84,12 @@ content:
third_party_settings: { }
weight: 6
region: content
field_type:
type: list_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 8
region: content
hidden:
search_api_excerpt: true

View File

@ -0,0 +1,21 @@
uuid: f13c7254-6936-4913-bee9-e56b144f5818
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_type
- paragraphs.paragraphs_type.phase_deroulement
module:
- options
id: paragraph.phase_deroulement.field_type
field_name: field_type
entity_type: paragraph
bundle: phase_deroulement
label: Type
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_integer

View File

@ -0,0 +1,30 @@
uuid: 7ab85751-5a86-403a-adaa-b684637e17de
langcode: fr
status: true
dependencies:
module:
- options
- paragraphs
id: paragraph.field_type
field_name: field_type
entity_type: paragraph
type: list_integer
settings:
allowed_values:
-
value: 1
label: 'étape du dialogue compétitif'
-
value: 2
label: 'événements nationaux'
-
value: 3
label: 'événements locaux'
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false