added new paragraphe 'Doc & thumb' field to programme #1456
This commit is contained in:
parent
d988a9b32d
commit
0f9e983403
@ -6,6 +6,7 @@ dependencies:
|
|||||||
- field.field.node.programme.body
|
- field.field.node.programme.body
|
||||||
- field.field.node.programme.field_actif
|
- field.field.node.programme.field_actif
|
||||||
- field.field.node.programme.field_diaporama
|
- field.field.node.programme.field_diaporama
|
||||||
|
- field.field.node.programme.field_document
|
||||||
- field.field.node.programme.field_fichier
|
- field.field.node.programme.field_fichier
|
||||||
- field.field.node.programme.field_logo
|
- field.field.node.programme.field_logo
|
||||||
- field.field.node.programme.field_partenaires
|
- field.field.node.programme.field_partenaires
|
||||||
@ -89,6 +90,7 @@ third_party_settings:
|
|||||||
children:
|
children:
|
||||||
- field_diaporama
|
- field_diaporama
|
||||||
- field_fichier
|
- field_fichier
|
||||||
|
- field_document
|
||||||
parent_name: group_tabs
|
parent_name: group_tabs
|
||||||
weight: 20
|
weight: 20
|
||||||
format_type: tab
|
format_type: tab
|
||||||
@ -158,6 +160,25 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: image_image
|
type: image_image
|
||||||
region: content
|
region: content
|
||||||
|
field_document:
|
||||||
|
type: paragraphs
|
||||||
|
weight: 126
|
||||||
|
settings:
|
||||||
|
title: Paragraph
|
||||||
|
title_plural: Paragraphs
|
||||||
|
edit_mode: open
|
||||||
|
closed_mode: summary
|
||||||
|
autocollapse: none
|
||||||
|
closed_mode_threshold: 0
|
||||||
|
add_mode: dropdown
|
||||||
|
form_display_mode: default
|
||||||
|
default_paragraph_type: doc_and_thumb
|
||||||
|
features:
|
||||||
|
add_above: '0'
|
||||||
|
collapse_edit_all: collapse_edit_all
|
||||||
|
duplicate: '0'
|
||||||
|
third_party_settings: { }
|
||||||
|
region: content
|
||||||
field_fichier:
|
field_fichier:
|
||||||
weight: 125
|
weight: 125
|
||||||
settings:
|
settings:
|
||||||
|
@ -0,0 +1,44 @@
|
|||||||
|
uuid: b5dc7523-5d26-4b03-8478-47329410a2db
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_document
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_titre
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_vignette
|
||||||
|
- image.style.thumbnail
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
id: paragraph.doc_and_thumb.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: doc_and_thumb
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_document:
|
||||||
|
weight: 2
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
third_party_settings: { }
|
||||||
|
type: file_generic
|
||||||
|
region: content
|
||||||
|
field_titre:
|
||||||
|
weight: 1
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string_textfield
|
||||||
|
region: content
|
||||||
|
field_vignette:
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
preview_image_style: thumbnail
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image_image
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
status: true
|
@ -6,6 +6,7 @@ dependencies:
|
|||||||
- field.field.node.programme.body
|
- field.field.node.programme.body
|
||||||
- field.field.node.programme.field_actif
|
- field.field.node.programme.field_actif
|
||||||
- field.field.node.programme.field_diaporama
|
- field.field.node.programme.field_diaporama
|
||||||
|
- field.field.node.programme.field_document
|
||||||
- field.field.node.programme.field_fichier
|
- field.field.node.programme.field_fichier
|
||||||
- field.field.node.programme.field_logo
|
- field.field.node.programme.field_logo
|
||||||
- field.field.node.programme.field_partenaires
|
- field.field.node.programme.field_partenaires
|
||||||
@ -47,6 +48,15 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: image
|
type: image
|
||||||
region: content
|
region: content
|
||||||
|
field_document:
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
weight: 8
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
link: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
region: content
|
||||||
field_fichier:
|
field_fichier:
|
||||||
weight: 4
|
weight: 4
|
||||||
label: hidden
|
label: hidden
|
||||||
|
@ -7,6 +7,7 @@ dependencies:
|
|||||||
- field.field.node.programme.body
|
- field.field.node.programme.body
|
||||||
- field.field.node.programme.field_actif
|
- field.field.node.programme.field_actif
|
||||||
- field.field.node.programme.field_diaporama
|
- field.field.node.programme.field_diaporama
|
||||||
|
- field.field.node.programme.field_document
|
||||||
- field.field.node.programme.field_fichier
|
- field.field.node.programme.field_fichier
|
||||||
- field.field.node.programme.field_logo
|
- field.field.node.programme.field_logo
|
||||||
- field.field.node.programme.field_partenaires
|
- field.field.node.programme.field_partenaires
|
||||||
@ -15,8 +16,15 @@ dependencies:
|
|||||||
- field.field.node.programme.field_textes
|
- field.field.node.programme.field_textes
|
||||||
- node.type.programme
|
- node.type.programme
|
||||||
module:
|
module:
|
||||||
|
- panelizer
|
||||||
- text
|
- text
|
||||||
- user
|
- user
|
||||||
|
third_party_settings:
|
||||||
|
panelizer:
|
||||||
|
enable: false
|
||||||
|
custom: false
|
||||||
|
allow: false
|
||||||
|
default: default
|
||||||
id: node.programme.teaser
|
id: node.programme.teaser
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
bundle: programme
|
bundle: programme
|
||||||
@ -30,14 +38,31 @@ content:
|
|||||||
trim_length: 600
|
trim_length: 600
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
|
computed_projets_references:
|
||||||
|
label: hidden
|
||||||
|
weight: -5
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
|
computed_themes_references:
|
||||||
|
label: hidden
|
||||||
|
weight: -5
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
links:
|
links:
|
||||||
weight: 100
|
weight: 100
|
||||||
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
|
||||||
hidden:
|
hidden:
|
||||||
field_actif: true
|
field_actif: true
|
||||||
field_diaporama: true
|
field_diaporama: true
|
||||||
|
field_document: true
|
||||||
field_fichier: true
|
field_fichier: true
|
||||||
field_logo: true
|
field_logo: true
|
||||||
field_partenaires: true
|
field_partenaires: true
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
uuid: 749e4e86-ff0e-4fec-b5f6-15880fad71ce
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_document
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_titre
|
||||||
|
- field.field.paragraph.doc_and_thumb.field_vignette
|
||||||
|
- image.style.medium
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
id: paragraph.doc_and_thumb.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: doc_and_thumb
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_document:
|
||||||
|
weight: 2
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
use_description_as_link_text: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: file_default
|
||||||
|
region: content
|
||||||
|
field_titre:
|
||||||
|
weight: 1
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string
|
||||||
|
region: content
|
||||||
|
field_vignette:
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
image_style: medium
|
||||||
|
image_link: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
search_api_excerpt: true
|
49
config/sync/field.field.node.programme.field_document.yml
Normal file
49
config/sync/field.field.node.programme.field_document.yml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
uuid: 1bb1abe2-8c4d-458f-9842-1805f8acdd25
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_document
|
||||||
|
- node.type.programme
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
id: node.programme.field_document
|
||||||
|
field_name: field_document
|
||||||
|
entity_type: node
|
||||||
|
bundle: programme
|
||||||
|
label: Documents
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:paragraph'
|
||||||
|
handler_settings:
|
||||||
|
negate: 0
|
||||||
|
target_bundles:
|
||||||
|
doc_and_thumb: doc_and_thumb
|
||||||
|
target_bundles_drag_drop:
|
||||||
|
doc_and_thumb:
|
||||||
|
enabled: true
|
||||||
|
weight: 8
|
||||||
|
equipes:
|
||||||
|
weight: 9
|
||||||
|
enabled: false
|
||||||
|
partenaires:
|
||||||
|
weight: 10
|
||||||
|
enabled: false
|
||||||
|
personne:
|
||||||
|
weight: 11
|
||||||
|
enabled: false
|
||||||
|
sous_partie_programme:
|
||||||
|
weight: 12
|
||||||
|
enabled: false
|
||||||
|
sous_partie_programme_contents:
|
||||||
|
weight: 13
|
||||||
|
enabled: false
|
||||||
|
textes:
|
||||||
|
weight: 14
|
||||||
|
enabled: false
|
||||||
|
field_type: entity_reference_revisions
|
@ -0,0 +1,27 @@
|
|||||||
|
uuid: f1408633-eb7a-4b65-a0df-b2678a45c7ec
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_document
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
id: paragraph.doc_and_thumb.field_document
|
||||||
|
field_name: field_document
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: doc_and_thumb
|
||||||
|
label: Document
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: pdf
|
||||||
|
max_filesize: ''
|
||||||
|
description_field: false
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
field_type: file
|
@ -0,0 +1,19 @@
|
|||||||
|
uuid: ac194b0b-1ba4-41f8-8e3f-f8bed73d4e11
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_titre
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
id: paragraph.doc_and_thumb.field_titre
|
||||||
|
field_name: field_titre
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: doc_and_thumb
|
||||||
|
label: Titre
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
@ -0,0 +1,38 @@
|
|||||||
|
uuid: 92929459-931b-4b05-8cf9-4f096c653a4e
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_vignette
|
||||||
|
- paragraphs.paragraphs_type.doc_and_thumb
|
||||||
|
module:
|
||||||
|
- image
|
||||||
|
id: paragraph.doc_and_thumb.field_vignette
|
||||||
|
field_name: field_vignette
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: doc_and_thumb
|
||||||
|
label: Vignette
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: 'png gif jpg jpeg'
|
||||||
|
max_filesize: ''
|
||||||
|
max_resolution: ''
|
||||||
|
min_resolution: ''
|
||||||
|
alt_field: false
|
||||||
|
alt_field_required: false
|
||||||
|
title_field: false
|
||||||
|
title_field_required: false
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
field_type: image
|
21
config/sync/field.storage.node.field_document.yml
Normal file
21
config/sync/field.storage.node.field_document.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
uuid: 0a587aa0-f8b1-4d0c-a88a-7f25f8138476
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
- node
|
||||||
|
- paragraphs
|
||||||
|
id: node.field_document
|
||||||
|
field_name: field_document
|
||||||
|
entity_type: node
|
||||||
|
type: entity_reference_revisions
|
||||||
|
settings:
|
||||||
|
target_type: paragraph
|
||||||
|
module: entity_reference_revisions
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
23
config/sync/field.storage.paragraph.field_document.yml
Normal file
23
config/sync/field.storage.paragraph.field_document.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
uuid: aee2026e-f89f-411f-bd0e-ff895500f348
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- paragraphs
|
||||||
|
id: paragraph.field_document
|
||||||
|
field_name: field_document
|
||||||
|
entity_type: paragraph
|
||||||
|
type: file
|
||||||
|
settings:
|
||||||
|
display_field: false
|
||||||
|
display_default: false
|
||||||
|
uri_scheme: public
|
||||||
|
target_type: file
|
||||||
|
module: file
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
30
config/sync/field.storage.paragraph.field_vignette.yml
Normal file
30
config/sync/field.storage.paragraph.field_vignette.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
uuid: 51397961-734a-4bb4-8bc2-ad7823b5edf6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
- paragraphs
|
||||||
|
id: paragraph.field_vignette
|
||||||
|
field_name: field_vignette
|
||||||
|
entity_type: paragraph
|
||||||
|
type: image
|
||||||
|
settings:
|
||||||
|
uri_scheme: public
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
target_type: file
|
||||||
|
display_field: false
|
||||||
|
display_default: false
|
||||||
|
module: image
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
@ -10,6 +10,7 @@ dependencies:
|
|||||||
- views.view.projets
|
- views.view.projets
|
||||||
module:
|
module:
|
||||||
- ctools
|
- ctools
|
||||||
|
- ctools_block
|
||||||
- panels
|
- panels
|
||||||
- popsu_link_block
|
- popsu_link_block
|
||||||
- views
|
- views
|
||||||
@ -37,7 +38,7 @@ variant_settings:
|
|||||||
views_label: ''
|
views_label: ''
|
||||||
items_per_page: none
|
items_per_page: none
|
||||||
region: third
|
region: third
|
||||||
weight: -10
|
weight: -3
|
||||||
uuid: 286723b9-60de-46d0-9891-42e0910e604d
|
uuid: 286723b9-60de-46d0-9891-42e0910e604d
|
||||||
context_mapping: { }
|
context_mapping: { }
|
||||||
6319006a-015c-459c-996b-79d404f7455f:
|
6319006a-015c-459c-996b-79d404f7455f:
|
||||||
@ -115,6 +116,23 @@ variant_settings:
|
|||||||
weight: 0
|
weight: 0
|
||||||
uuid: 9c5741a0-e8e2-4895-88a7-c36d3825e33c
|
uuid: 9c5741a0-e8e2-4895-88a7-c36d3825e33c
|
||||||
context_mapping: { }
|
context_mapping: { }
|
||||||
|
c80f54a0-8f21-4c56-8341-eab59b009329:
|
||||||
|
id: 'entity_field:node:field_document'
|
||||||
|
label: 'Pour aller plus loin'
|
||||||
|
provider: ctools_block
|
||||||
|
label_display: visible
|
||||||
|
formatter:
|
||||||
|
label: hidden
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: third
|
||||||
|
weight: -4
|
||||||
|
uuid: c80f54a0-8f21-4c56-8341-eab59b009329
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
id: panels_variant
|
id: panels_variant
|
||||||
uuid: 9752d3e8-fdc6-419d-95bb-079a2c3088b3
|
uuid: 9752d3e8-fdc6-419d-95bb-079a2c3088b3
|
||||||
label: null
|
label: null
|
||||||
|
@ -79,7 +79,7 @@ variant_settings:
|
|||||||
timezone_override: ''
|
timezone_override: ''
|
||||||
format: date_only
|
format: date_only
|
||||||
force_chronological: false
|
force_chronological: false
|
||||||
add_classes: 0
|
add_classes: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: second
|
region: second
|
||||||
@ -150,7 +150,7 @@ variant_settings:
|
|||||||
timezone_override: ''
|
timezone_override: ''
|
||||||
format: date_only
|
format: date_only
|
||||||
force_chronological: false
|
force_chronological: false
|
||||||
add_classes: 0
|
add_classes: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: second
|
region: second
|
||||||
|
11
config/sync/paragraphs.paragraphs_type.doc_and_thumb.yml
Normal file
11
config/sync/paragraphs.paragraphs_type.doc_and_thumb.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
uuid: 16990b7a-37a8-463e-8e95-01e12fe852b2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: doc_and_thumb
|
||||||
|
label: 'doc and thumb'
|
||||||
|
icon_uuid: null
|
||||||
|
icon_default: null
|
||||||
|
description: ''
|
||||||
|
save_empty: false
|
||||||
|
behavior_plugins: { }
|
Loading…
x
Reference in New Issue
Block a user