content type ressource

This commit is contained in:
Bachir Soussi Chiadmi 2025-02-24 13:26:00 +01:00
parent ed8edbd0c0
commit 8b2938de0e
8 changed files with 132 additions and 5 deletions

View File

@ -1,3 +1,4 @@
uuid: 4b684ae9-1a47-4712-bfbe-54da6f8555da
langcode: fr
status: true
dependencies:

View File

@ -41,6 +41,56 @@ third_party_settings:
description: ''
required_fields: true
weight: -100
group_tabs:
children:
- group_infos
- group_parties
label: Tabs
region: content
parent_name: ''
weight: 1
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_infos:
children:
- field_autheurice
- field_date_ressource
- field_introduction
label: Infos
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_parties:
children:
- field_parties_ressource
label: Parties
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.ressource.default
targetEntityType: node
bundle: ressource
@ -48,7 +98,7 @@ mode: default
content:
field_autheurice:
type: string_textfield
weight: 1
weight: 2
region: content
settings:
size: 60
@ -56,7 +106,7 @@ content:
third_party_settings: { }
field_date_ressource:
type: datetime_default
weight: 2
weight: 3
region: content
settings: { }
third_party_settings: { }
@ -72,7 +122,7 @@ content:
third_party_settings: { }
field_introduction:
type: text_textarea
weight: 3
weight: 4
region: content
settings:
rows: 5
@ -105,7 +155,7 @@ content:
autocomplete_route_name: autocomplete_deluxe.autocomplete
size: 60
selection_handler: default
limit: 10
match_limit: 10
min_length: 0
delimiter: ''
not_found_message_allow: false

View File

@ -5,6 +5,7 @@ dependencies:
config:
- field.field.paragraph.document.field_autheurice_s
- field.field.paragraph.document.field_date
- field.field.paragraph.document.field_document
- field.field.paragraph.document.field_sous_titre
- field.field.paragraph.document.field_titre
- field.field.paragraph.document.field_vignette
@ -12,6 +13,7 @@ dependencies:
- paragraphs.paragraphs_type.document
module:
- datetime
- file
- image
id: paragraph.document.default
targetEntityType: paragraph
@ -32,6 +34,13 @@ content:
region: content
settings: { }
third_party_settings: { }
field_document:
type: file_generic
weight: 5
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_sous_titre:
type: string_textfield
weight: 2

View File

@ -5,12 +5,14 @@ dependencies:
config:
- field.field.paragraph.document.field_autheurice_s
- field.field.paragraph.document.field_date
- field.field.paragraph.document.field_document
- field.field.paragraph.document.field_sous_titre
- field.field.paragraph.document.field_titre
- field.field.paragraph.document.field_vignette
- paragraphs.paragraphs_type.document
module:
- datetime
- file
- image
id: paragraph.document.default
targetEntityType: paragraph
@ -34,6 +36,14 @@ content:
third_party_settings: { }
weight: 4
region: content
field_document:
type: file_default
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 5
region: content
field_sous_titre:
type: string
label: visually_hidden

View File

@ -0,0 +1,27 @@
uuid: 68276064-4601-4b82-a6b5-336faf39a572
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_document
- paragraphs.paragraphs_type.document
module:
- file
id: paragraph.document.field_document
field_name: field_document
entity_type: paragraph
bundle: document
label: Document
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: 781e5561-6299-4ce5-a4e4-72211d29087a
langcode: fr
status: true
dependencies:
module:
- file
- paragraphs
id: paragraph.field_document
field_name: field_document
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

@ -14,7 +14,7 @@ smtp_from: ''
smtp_fromname: ''
smtp_client_hostname: ''
smtp_client_helo: ''
smtp_allowhtml: ''
smtp_allowhtml: false
smtp_test_address: ''
smtp_reroute_address: ''
smtp_debugging: false

View File

@ -10,6 +10,7 @@ dependencies:
- node.type.etape
- node.type.gallerie_photo
- node.type.partenaire
- node.type.ressource
- node.type.static
- taxonomy.vocabulary.saisons
- taxonomy.vocabulary.thematiques
@ -38,12 +39,14 @@ permissions:
- 'create etape content'
- 'create gallerie_photo content'
- 'create partenaire content'
- 'create ressource content'
- 'create terms in saisons'
- 'create terms in thematiques'
- 'delete equipe revisions'
- 'delete etape revisions'
- 'delete gallerie_photo revisions'
- 'delete partenaire revisions'
- 'delete ressource revisions'
- 'delete static revisions'
- 'delete terms in saisons'
- 'delete terms in thematiques'
@ -51,6 +54,7 @@ permissions:
- 'edit any etape content'
- 'edit any gallerie_photo content'
- 'edit any partenaire content'
- 'edit any ressource content'
- 'edit any static content'
- 'edit intro_gouvernance config page entity'
- 'edit intro_partenaires config page entity'
@ -58,6 +62,7 @@ permissions:
- 'edit own etape content'
- 'edit own gallerie_photo content'
- 'edit own partenaire content'
- 'edit own ressource content'
- 'edit own static content'
- 'edit terms in saisons'
- 'edit terms in thematiques'
@ -65,6 +70,7 @@ permissions:
- 'revert etape revisions'
- 'revert gallerie_photo revisions'
- 'revert partenaire revisions'
- 'revert ressource revisions'
- 'revert static revisions'
- 'use text format footnote'
- 'use text format simple'
@ -73,6 +79,7 @@ permissions:
- 'view etape revisions'
- 'view gallerie_photo revisions'
- 'view partenaire revisions'
- 'view ressource revisions'
- 'view static revisions'
- 'view the administration theme'
- 'view unpublished paragraphs'