CT static

This commit is contained in:
Bachir Soussi Chiadmi 2021-03-23 21:22:47 +01:00
parent 99adadd384
commit 30005bb003
3 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,88 @@
uuid: b5812f35-419e-4ee4-89b1-b376e1112d1f
langcode: fr
status: true
dependencies:
config:
- field.field.node.static.body
- field.field.node.static.field_fichier
- node.type.static
module:
- file
- path
id: node.static.default
targetEntityType: node
bundle: static
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_fichier:
weight: 121
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 15
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 120
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 16
region: content
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 50
settings: { }
third_party_settings: { }
region: content
hidden:
body: true

View File

@ -4,8 +4,10 @@ status: true
dependencies:
config:
- field.field.node.static.body
- field.field.node.static.field_fichier
- node.type.static
module:
- file
- text
- user
_core:
@ -22,6 +24,14 @@ content:
settings: { }
third_party_settings: { }
region: content
field_fichier:
weight: 2
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
links:
weight: 1
region: content

View File

@ -0,0 +1,27 @@
uuid: 05d632fa-3ac6-4be6-a1e7-f314f3230b42
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: pdf
max_filesize: ''
description_field: true
handler: 'default:file'
handler_settings: { }
field_type: file