added dossier de presse pdf field

This commit is contained in:
2020-09-04 09:43:16 +02:00
parent 11d54412cd
commit b25104570c
11 changed files with 188 additions and 5 deletions
@@ -8,6 +8,7 @@ dependencies:
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -75,6 +76,7 @@ third_party_settings:
- field_view_mode
- field_workflow_generic
- field_page_type
- field_dossier_de_presse
parent_name: group_tabs
weight: 4
format_type: tab
@@ -145,8 +147,15 @@ content:
weight: 41
third_party_settings: { }
region: content
field_page_type:
field_dossier_de_presse:
weight: 14
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_page_type:
weight: 13
settings: { }
third_party_settings: { }
type: options_select
@@ -174,7 +183,7 @@ content:
type: file_generic
region: content
field_view_mode:
weight: 12
weight: 11
settings: { }
third_party_settings: { }
type: options_select
@@ -203,7 +212,7 @@ content:
type: image_image
region: content
field_workflow_generic:
weight: 13
weight: 12
settings: { }
third_party_settings: { }
type: workflow_default
@@ -6,6 +6,9 @@ dependencies:
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -30,6 +33,14 @@ content:
settings: { }
third_party_settings: { }
region: content
field_dossier_de_presse:
weight: 4
label: hidden
settings:
use_description_as_link_text: false
third_party_settings: { }
type: file_default
region: content
field_son:
weight: 3
label: hidden
@@ -53,7 +64,7 @@ content:
settings: { }
third_party_settings: { }
production_subtree:
weight: 4
weight: 5
region: content
settings: { }
third_party_settings: { }
@@ -61,8 +72,11 @@ hidden:
addtoany: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_domain_access: true
field_domain_all_affiliates: true
field_page_type: true
field_view_mode: true
field_workflow_generic: true
langcode: true
links: true
search_api_excerpt: true
@@ -7,6 +7,9 @@ dependencies:
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -32,9 +35,13 @@ content:
type: image
region: content
hidden:
addtoany: true
body: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_domain_access: true
field_domain_all_affiliates: true
field_dossier_de_presse: true
field_page_type: true
field_son: true
field_view_mode: true
@@ -43,3 +50,4 @@ hidden:
links: true
production_parent: true
production_subtree: true
search_api_excerpt: true
@@ -7,6 +7,9 @@ dependencies:
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -32,9 +35,13 @@ content:
type: image
region: content
hidden:
addtoany: true
body: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_domain_access: true
field_domain_all_affiliates: true
field_dossier_de_presse: true
field_page_type: true
field_son: true
field_view_mode: true
@@ -43,3 +50,4 @@ hidden:
links: true
production_parent: true
production_subtree: true
search_api_excerpt: true
@@ -7,6 +7,9 @@ dependencies:
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -68,9 +71,13 @@ hidden:
addtoany: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_domain_access: true
field_domain_all_affiliates: true
field_dossier_de_presse: true
field_page_type: true
field_view_mode: true
field_workflow_generic: true
langcode: true
production_parent: true
production_subtree: true
search_api_excerpt: true
@@ -5,6 +5,11 @@ dependencies:
config:
- core.entity_view_mode.node.text_1_column
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_domain_access
- field.field.node.page.field_domain_all_affiliates
- field.field.node.page.field_dossier_de_presse
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -19,7 +24,13 @@ bundle: page
mode: text_1_column
content: { }
hidden:
addtoany: true
body: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_domain_access: true
field_domain_all_affiliates: true
field_dossier_de_presse: true
field_page_type: true
field_son: true
field_view_mode: true
@@ -27,3 +38,6 @@ hidden:
field_workflow_generic: true
langcode: true
links: true
production_parent: true
production_subtree: true
search_api_excerpt: true
@@ -0,0 +1,27 @@
uuid: 30ab8a04-c0c6-47c0-aa44-01e9b3f64d0c
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_dossier_de_presse
- node.type.page
module:
- file
id: node.page.field_dossier_de_presse
field_name: field_dossier_de_presse
entity_type: node
bundle: page
label: 'Dossier de presse'
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: false
handler: 'default:file'
handler_settings: { }
field_type: file
@@ -0,0 +1,23 @@
uuid: 796d1533-d277-4917-a083-39a1de21364b
langcode: fr
status: true
dependencies:
module:
- file
- node
id: node.field_dossier_de_presse
field_name: field_dossier_de_presse
entity_type: node
type: file
settings:
display_field: true
display_default: true
uri_scheme: public
target_type: file
module: file
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
+66
View File
@@ -8,6 +8,7 @@ dependencies:
- field.storage.node.field_collectionneurs
- field.storage.node.field_date
- field.storage.node.field_description
- field.storage.node.field_dossier_de_presse
- field.storage.node.field_entrees
- field.storage.node.field_genres
- field.storage.node.field_langues
@@ -37,6 +38,7 @@ dependencies:
module:
- audiofield
- date_range_formatter
- file
- image
- node
- options
@@ -2127,6 +2129,69 @@ display:
plugin_id: field
entity_type: node
entity_field: changed
field_dossier_de_presse:
id: field_dossier_de_presse
table: node__field_dossier_de_presse
field: field_dossier_de_presse
relationship: none
group_type: group
admin_label: ''
label: 'Dossier de presse'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: file_table
settings:
use_description_as_link_text: false
group_column: ''
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
title: Productions
style:
type: table
@@ -2268,6 +2333,7 @@ display:
max-age: 0
tags:
- 'config:field.storage.node.field_afficher_en_page_d_acceuil'
- 'config:field.storage.node.field_dossier_de_presse'
- 'config:field.storage.node.field_page_type'
- 'config:field.storage.node.field_son'
- 'config:field.storage.node.field_view_mode'
File diff suppressed because one or more lines are too long
@@ -857,6 +857,13 @@ main[role="main"]{
}
}
.field--name-field-dossier-de-presse{
font-size: .82em;
font-weight: 600;
line-height: 1.4;
margin: 0 0 1em;
}
img{
max-width: 100%;
height: auto;