added file field to home showrooms: drupal configs

This commit is contained in:
Bachir Soussi Chiadmi 2021-08-24 23:24:46 +02:00
parent 94fe587324
commit 01e0bbfc09
11 changed files with 123 additions and 5 deletions

View File

@ -9,12 +9,14 @@ dependencies:
- field.field.node.frontpage.field_database_links - field.field.node.frontpage.field_database_links
- field.field.node.frontpage.field_pricing - field.field.node.frontpage.field_pricing
- field.field.node.frontpage.field_pricing_pitch - field.field.node.frontpage.field_pricing_pitch
- field.field.node.frontpage.field_showroom_files
- field.field.node.frontpage.field_showroom_links - field.field.node.frontpage.field_showroom_links
- field.field.node.frontpage.field_showrooms - field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio - field.field.node.frontpage.field_what_is_materio
- node.type.frontpage - node.type.frontpage
module: module:
- field_group - field_group
- file
- link - link
- text - text
third_party_settings: third_party_settings:
@ -68,6 +70,7 @@ third_party_settings:
children: children:
- field_showrooms - field_showrooms
- field_showroom_links - field_showroom_links
- field_showroom_files
parent_name: group_htabs parent_name: group_htabs
weight: 21 weight: 21
format_type: tab format_type: tab
@ -96,8 +99,8 @@ third_party_settings:
label: Blabla label: Blabla
group_pricing: group_pricing:
children: children:
- field_pricing
- field_pricing_pitch - field_pricing_pitch
- field_pricing
parent_name: group_htabs parent_name: group_htabs
weight: 23 weight: 23
format_type: tab format_type: tab
@ -162,6 +165,13 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_textfield type: text_textfield
region: content region: content
field_showroom_files:
weight: 5
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_showroom_links: field_showroom_links:
weight: 4 weight: 4
settings: settings:

View File

@ -9,12 +9,14 @@ dependencies:
- field.field.node.frontpage.field_database_links - field.field.node.frontpage.field_database_links
- field.field.node.frontpage.field_pricing - field.field.node.frontpage.field_pricing
- field.field.node.frontpage.field_pricing_pitch - field.field.node.frontpage.field_pricing_pitch
- field.field.node.frontpage.field_showroom_files
- field.field.node.frontpage.field_showroom_links - field.field.node.frontpage.field_showroom_links
- field.field.node.frontpage.field_showrooms - field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio - field.field.node.frontpage.field_what_is_materio
- node.type.frontpage - node.type.frontpage
module: module:
- field_group - field_group
- file
- text - text
- user - user
- vue_link_formatter - vue_link_formatter
@ -56,7 +58,7 @@ third_party_settings:
speed: fast speed: fast
id: '' id: ''
classes: home-database classes: home-database
label: database label: 'base de données'
region: content region: content
group_showrooms: group_showrooms:
children: children:
@ -114,7 +116,7 @@ third_party_settings:
id: '' id: ''
classes: home-pricing classes: home-pricing
element: section element: section
label: pricing label: tarifs
region: content region: content
group_db_col_left: group_db_col_left:
children: children:
@ -157,6 +159,7 @@ third_party_settings:
children: children:
- field_showrooms - field_showrooms
- field_showroom_links - field_showroom_links
- field_showroom_files
parent_name: group_showrooms parent_name: group_showrooms
weight: 20 weight: 20
format_type: html_element format_type: html_element
@ -338,6 +341,14 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_default type: text_default
region: content region: content
field_showroom_files:
weight: 22
label: hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
field_showroom_links: field_showroom_links:
weight: 4 weight: 4
label: hidden label: hidden

View File

@ -10,12 +10,14 @@ dependencies:
- field.field.node.frontpage.field_database_links - field.field.node.frontpage.field_database_links
- field.field.node.frontpage.field_pricing - field.field.node.frontpage.field_pricing
- field.field.node.frontpage.field_pricing_pitch - field.field.node.frontpage.field_pricing_pitch
- field.field.node.frontpage.field_showroom_files
- field.field.node.frontpage.field_showroom_links - field.field.node.frontpage.field_showroom_links
- field.field.node.frontpage.field_showrooms - field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio - field.field.node.frontpage.field_what_is_materio
- node.type.frontpage - node.type.frontpage
module: module:
- field_group - field_group
- file
- text - text
- user - user
- vue_link_formatter - vue_link_formatter
@ -57,7 +59,7 @@ third_party_settings:
speed: fast speed: fast
id: '' id: ''
classes: home-database classes: home-database
label: database label: 'base de données'
region: content region: content
group_showrooms: group_showrooms:
children: children:
@ -115,7 +117,7 @@ third_party_settings:
id: '' id: ''
classes: home-pricing classes: home-pricing
element: section element: section
label: pricing label: tarifs
region: content region: content
group_db_col_left: group_db_col_left:
children: children:
@ -156,6 +158,7 @@ third_party_settings:
label: db-col-right label: db-col-right
group_showroom_col_left: group_showroom_col_left:
children: children:
- field_showroom_files
- field_showrooms - field_showrooms
- field_showroom_links - field_showroom_links
parent_name: group_showrooms parent_name: group_showrooms
@ -339,6 +342,14 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_default type: text_default
region: content region: content
field_showroom_files:
type: file_default
weight: 5
region: content
label: hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
field_showroom_links: field_showroom_links:
weight: 4 weight: 4
label: hidden label: hidden

View File

@ -10,12 +10,14 @@ dependencies:
- field.field.node.frontpage.field_database_links - field.field.node.frontpage.field_database_links
- field.field.node.frontpage.field_pricing - field.field.node.frontpage.field_pricing
- field.field.node.frontpage.field_pricing_pitch - field.field.node.frontpage.field_pricing_pitch
- field.field.node.frontpage.field_showroom_files
- field.field.node.frontpage.field_showroom_links - field.field.node.frontpage.field_showroom_links
- field.field.node.frontpage.field_showrooms - field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio - field.field.node.frontpage.field_what_is_materio
- node.type.frontpage - node.type.frontpage
module: module:
- field_group - field_group
- file
- text - text
- user - user
- vue_link_formatter - vue_link_formatter
@ -157,6 +159,7 @@ third_party_settings:
children: children:
- field_showrooms - field_showrooms
- field_showroom_links - field_showroom_links
- field_showroom_files
parent_name: group_showrooms parent_name: group_showrooms
weight: 20 weight: 20
format_type: html_element format_type: html_element
@ -327,6 +330,14 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_default type: text_default
region: content region: content
field_showroom_files:
type: file_default
weight: 5
region: content
label: hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
field_showroom_links: field_showroom_links:
weight: 4 weight: 4
label: hidden label: hidden

View File

@ -10,6 +10,7 @@ dependencies:
- field.field.node.frontpage.field_database_links - field.field.node.frontpage.field_database_links
- field.field.node.frontpage.field_pricing - field.field.node.frontpage.field_pricing
- field.field.node.frontpage.field_pricing_pitch - field.field.node.frontpage.field_pricing_pitch
- field.field.node.frontpage.field_showroom_files
- field.field.node.frontpage.field_showroom_links - field.field.node.frontpage.field_showroom_links
- field.field.node.frontpage.field_showrooms - field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio - field.field.node.frontpage.field_what_is_materio
@ -78,8 +79,10 @@ hidden:
field_database_links: true field_database_links: true
field_pricing: true field_pricing: true
field_pricing_pitch: true field_pricing_pitch: true
field_showroom_files: true
field_showroom_links: true field_showroom_links: true
field_showrooms: true field_showrooms: true
field_what_is_materio: true field_what_is_materio: true
langcode: true langcode: true
search_api_excerpt: true search_api_excerpt: true
synonyms: true

View File

@ -0,0 +1,27 @@
uuid: 250d470a-c162-4459-ae53-d79eda4310e4
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_showroom_files
- node.type.frontpage
module:
- file
id: node.frontpage.field_showroom_files
field_name: field_showroom_files
entity_type: node
bundle: frontpage
label: 'Showroom Files'
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

View File

@ -0,0 +1,27 @@
uuid: dc881f41-da38-4e54-8ad1-1a72e6daec8d
langcode: fr
status: true
dependencies:
module:
- field_permissions
- file
- node
third_party_settings:
field_permissions:
permission_type: custom
id: node.field_showroom_files
field_name: field_showroom_files
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

View File

@ -28,6 +28,19 @@ bundles:
notes: '' notes: ''
relationship: 0 relationship: 0
sars_filename: '' sars_filename: ''
frontpage:
field_showroom_files:
bundle: frontpage
name: field_showroom_files
entity_type_id: node
rtf: 'no'
rta: 'no'
enabled: false
anonymizer: email_anonymizer
notes: ''
relationship: 0
sars_filename: ''
filenames: filenames:
thematique: '' thematique: ''
simplenews_issue: '' simplenews_issue: ''
frontpage: ''

View File

@ -60,6 +60,7 @@ permissions:
- 'create field_company' - 'create field_company'
- 'create field_member_type' - 'create field_member_type'
- 'create field_showroom' - 'create field_showroom'
- 'create field_showroom_files'
- 'create generique workflow_transition' - 'create generique workflow_transition'
- 'create materiau content' - 'create materiau content'
- 'create migration workflow_transition' - 'create migration workflow_transition'
@ -111,7 +112,9 @@ permissions:
- 'edit field_member_type' - 'edit field_member_type'
- 'edit field_memo' - 'edit field_memo'
- 'edit field_showroom' - 'edit field_showroom'
- 'edit field_showroom_files'
- 'edit own enregistrement content' - 'edit own enregistrement content'
- 'edit own field_showroom_files'
- 'edit own flag lists' - 'edit own flag lists'
- 'edit own migration workflow_transition' - 'edit own migration workflow_transition'
- 'edit own note content' - 'edit own note content'

View File

@ -30,6 +30,7 @@ permissions:
- 'subscribe to newsletters' - 'subscribe to newsletters'
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view commerce_product' - 'view commerce_product'
- 'view field_showroom_files'
- 'view materio_product_type commerce_product' - 'view materio_product_type commerce_product'
- 'view privacy_policy config page entity' - 'view privacy_policy config page entity'
- 'view published fil entities' - 'view published fil entities'

View File

@ -41,6 +41,7 @@ permissions:
- 'use chutier' - 'use chutier'
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view commerce_product' - 'view commerce_product'
- 'view field_showroom_files'
- 'view materio_product_type commerce_product' - 'view materio_product_type commerce_product'
- 'view own commerce_order' - 'view own commerce_order'
- 'view own customer profile' - 'view own customer profile'