CT statique

This commit is contained in:
2021-05-19 14:37:19 +02:00
parent c8af50451c
commit b6f5a4adbd
9 changed files with 279 additions and 1 deletions
@@ -0,0 +1,139 @@
uuid: a0efe59f-3d2d-4b54-8a7a-fde9854a359b
langcode: fr
status: true
dependencies:
config:
- field.field.node.static.body
- field.field.node.static.field_fichier
- field.field.node.static.field_notes
- field.field.node.static.field_poid
- node.type.static
module:
- field_group
- file
- paragraphs
- text
third_party_settings:
field_group:
group_tabs:
children:
- group_texte
- group_fichiers
parent_name: ''
weight: 20
format_type: tabs
region: content
format_settings:
id: ''
classes: ''
direction: vertical
label: Tabs
group_texte:
children:
- body
- field_notes
parent_name: group_tabs
weight: 20
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: open
required_fields: true
label: Texte
group_fichiers:
children:
- field_fichier
parent_name: group_tabs
weight: 20
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: fichiers
group_sidebar:
children:
- status
- field_poid
parent_name: ''
weight: 20
format_type: details_sidebar
region: content
format_settings:
id: ''
classes: ''
description: ''
open: true
required_fields: true
weight: 0
label: Sidebar
id: node.static.default
targetEntityType: node
bundle: static
mode: default
content:
body:
type: text_textarea_with_summary
weight: 0
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
field_fichier:
weight: 122
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_notes:
weight: 121
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_poid:
weight: 123
settings:
placeholder: ''
third_party_settings: { }
type: number
region: content
status:
type: boolean_checkbox
settings:
display_label: true
weight: 120
region: content
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
langcode: true
path: true
promote: true
sticky: true
uid: true
url_redirects: true
@@ -4,8 +4,13 @@ status: true
dependencies:
config:
- field.field.node.static.body
- field.field.node.static.field_fichier
- field.field.node.static.field_notes
- field.field.node.static.field_poid
- node.type.static
module:
- entity_reference_revisions
- file
- text
- user
_core:
@@ -22,6 +27,32 @@ content:
settings: { }
third_party_settings: { }
region: content
field_fichier:
weight: 3
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
field_notes:
weight: 2
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: content
field_poid:
weight: 4
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
type: number_integer
region: content
links:
weight: 1
region: content
@@ -0,0 +1,27 @@
uuid: 30916070-d6ad-4a28-8987-dd5a7f0d032e
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_fichier
- node.type.static
module:
- file
id: node.static.field_fichier
field_name: field_fichier
entity_type: node
bundle: static
label: Fichier
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt pdf doc docx obs'
max_filesize: ''
description_field: true
handler: 'default:file'
handler_settings: { }
field_type: file
@@ -0,0 +1,34 @@
uuid: 85cf51f1-46cc-4425-82c2-6eb464581800
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_notes
- node.type.static
- paragraphs.paragraphs_type.note
module:
- entity_reference_revisions
id: node.static.field_notes
field_name: field_notes
entity_type: node
bundle: static
label: Notes
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
negate: 0
target_bundles:
note: note
target_bundles_drag_drop:
note:
enabled: true
weight: 3
note_prod:
weight: 4
enabled: false
field_type: entity_reference_revisions
@@ -0,0 +1,25 @@
uuid: 9c151f0b-dfc8-4c90-bb0f-108b07447f69
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_poid
- node.type.static
id: node.static.field_poid
field_name: field_poid
entity_type: node
bundle: static
label: Poid
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
min: -20
max: 20
prefix: ''
suffix: ''
field_type: integer
@@ -0,0 +1,20 @@
uuid: 07f2c342-c2d8-4d54-8f10-c0d6b96aa1d8
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_poid
field_name: field_poid
entity_type: node
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
+1 -1
View File
@@ -12,7 +12,7 @@ _core:
default_config_hash: Gbpk2gnakDOKmsOEikWuVfLDOZ8rtrlW-UoZFjqWCF0
name: Statique
type: static
description: 'Static Page'
description: ''
help: ''
new_revision: true
preview_mode: 0
+1
View File
@@ -29,6 +29,7 @@ permissions:
- 'create evenement content'
- 'create generique workflow_transition'
- 'create page content'
- 'create static content'
- 'create terms in collectionneurs'
- 'create terms in entrees'
- 'create terms in genres'
+1
View File
@@ -18,6 +18,7 @@ permissions:
- 'create creation content'
- 'create paragraph content note'
- 'create paragraph content note_prod'
- 'create static content'
- 'create terms in auteurs'
- 'create terms in edition'
- 'create terms in famille'