home telecharger le calendrier

This commit is contained in:
Bachir Soussi Chiadmi 2024-11-12 13:00:13 +01:00
parent 9fa4a507c5
commit 7159dd444a
5 changed files with 71 additions and 2 deletions

View File

@ -3,7 +3,7 @@ langcode: fr
status: true
dependencies: { }
id: deroulement
label: Déroulement
label: Calendrier
token: true
context:
show_warning: true

View File

@ -4,17 +4,26 @@ status: true
dependencies:
config:
- config_pages.type.deroulement
- field.field.config_pages.deroulement.field_calendrier
- field.field.config_pages.deroulement.field_phase
module:
- file
- paragraphs
id: config_pages.deroulement.default
targetEntityType: config_pages
bundle: deroulement
mode: default
content:
field_calendrier:
type: file_generic
weight: 0
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_phase:
type: paragraphs
weight: 0
weight: 1
region: content
settings:
title: Paragraphe

View File

@ -4,14 +4,24 @@ status: true
dependencies:
config:
- config_pages.type.deroulement
- field.field.config_pages.deroulement.field_calendrier
- field.field.config_pages.deroulement.field_phase
module:
- entity_reference_revisions
- file
id: config_pages.deroulement.default
targetEntityType: config_pages
bundle: deroulement
mode: default
content:
field_calendrier:
type: file_default
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 1
region: content
field_phase:
type: entity_reference_revisions_entity_view
label: visually_hidden

View File

@ -0,0 +1,27 @@
uuid: f4dd9d74-d587-429d-8829-c6adfe75badd
langcode: fr
status: true
dependencies:
config:
- config_pages.type.deroulement
- field.storage.config_pages.field_calendrier
module:
- file
id: config_pages.deroulement.field_calendrier
field_name: field_calendrier
entity_type: config_pages
bundle: deroulement
label: Calendrier
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 zip'
max_filesize: ''
description_field: true
field_type: file

View File

@ -0,0 +1,23 @@
uuid: c0e6c8e1-8cf9-4f99-8c83-bd0a8cca4419
langcode: fr
status: true
dependencies:
module:
- config_pages
- file
id: config_pages.field_calendrier
field_name: field_calendrier
entity_type: config_pages
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false