created home node and some computed field

This commit is contained in:
2019-05-23 17:52:46 +02:00
parent 74a821104f
commit 5d2a8bc73b
31 changed files with 651 additions and 31 deletions

View File

@@ -1,9 +1,10 @@
uuid: 6844a7d0-31bc-4cea-a72b-c0bb4c29b530
langcode: en
status: false
status: true
dependencies:
module:
- system
- user
theme:
- matminimal
_core:
@@ -19,4 +20,11 @@ settings:
label: Breadcrumbs
provider: system
label_display: '0'
visibility: { }
visibility:
user_role:
id: user_role
roles:
root: root
negate: false
context_mapping:
user: '@user.current_user_context:current_user'

View File

@@ -7,7 +7,7 @@ dependencies:
id: tabs
theme: materiotheme
region: content
weight: 0
weight: -2
provider: null
plugin: local_tasks_block
settings:

View File

@@ -0,0 +1,22 @@
uuid: c89b423f-df8e-4075-9745-a47ccc7ecfd1
langcode: en
status: true
dependencies:
config:
- node.type.frontpage
id: node.frontpage.promote
field_name: promote
entity_type: node
bundle: frontpage
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

View File

@@ -0,0 +1,77 @@
uuid: ce93c12b-c1ef-4cf6-a79a-22207000c151
langcode: en
status: true
dependencies:
config:
- field.field.node.frontpage.field_a_database
- field.field.node.frontpage.field_blabla
- field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio
- node.type.frontpage
module:
- text
id: node.frontpage.default
targetEntityType: node
bundle: frontpage
mode: default
content:
field_a_database:
weight: 2
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_blabla:
weight: 4
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_showrooms:
weight: 3
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_what_is_materio:
weight: 1
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
langcode:
type: language_select
weight: 5
region: content
settings:
include_locked: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 6
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
path: true
promote: true
status: true
sticky: true
uid: true
url_redirects: true

View File

@@ -0,0 +1,65 @@
uuid: 747f810e-f89f-44b0-8532-782c05b8df18
langcode: en
status: true
dependencies:
config:
- field.field.node.frontpage.field_a_database
- field.field.node.frontpage.field_blabla
- field.field.node.frontpage.field_showrooms
- field.field.node.frontpage.field_what_is_materio
- node.type.frontpage
module:
- text
- user
id: node.frontpage.default
targetEntityType: node
bundle: frontpage
mode: default
content:
computed_materials_reference:
weight: 2
region: content
settings:
link: false
third_party_settings: { }
type: entity_reference_label
label: hidden
computed_showrooms_reference:
label: hidden
weight: 4
region: content
settings:
link: true
third_party_settings: { }
type: entity_reference_label
field_a_database:
weight: 1
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_blabla:
weight: 5
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_showrooms:
weight: 3
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_what_is_materio:
weight: 0
label: hidden
settings: { }
third_party_settings: { }
type: text_default
region: content
hidden:
langcode: true
links: true

View File

@@ -0,0 +1,29 @@
uuid: c04cd92d-7d88-4dbe-b830-6fe45f5a7534
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- node.type.frontpage
module:
- user
id: node.frontpage.teaser
targetEntityType: node
bundle: frontpage
mode: teaser
content:
computed_materials_reference:
label: hidden
weight: -5
region: content
settings:
link: true
third_party_settings: { }
type: entity_reference_label
links:
weight: 100
settings: { }
third_party_settings: { }
region: content
hidden:
langcode: true

View File

@@ -0,0 +1,21 @@
uuid: e075ad3e-30ea-496d-be3b-2654ec84933c
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_a_database
- node.type.frontpage
module:
- text
id: node.frontpage.field_a_database
field_name: field_a_database
entity_type: node
bundle: frontpage
label: 'An Intuitive Database'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,21 @@
uuid: 60c20264-de47-406f-a869-e87453595477
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_blabla
- node.type.frontpage
module:
- text
id: node.frontpage.field_blabla
field_name: field_blabla
entity_type: node
bundle: frontpage
label: Blabla
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,21 @@
uuid: bbe2e525-bbd2-4052-86d2-e516a10113fd
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_showrooms
- node.type.frontpage
module:
- text
id: node.frontpage.field_showrooms
field_name: field_showrooms
entity_type: node
bundle: frontpage
label: 'Abundant showrooms'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,21 @@
uuid: 38a5726c-514f-4374-ae25-eae156ce99e4
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_what_is_materio
- node.type.frontpage
module:
- text
id: node.frontpage.field_what_is_materio
field_name: field_what_is_materio
entity_type: node
bundle: frontpage
label: 'What is materiO'' ?'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,19 @@
uuid: 3189c56a-425f-4f36-ba01-9d69b9fcd6e1
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_a_database
field_name: field_a_database
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: 7c95801e-4891-49aa-baca-161b9feb5f88
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_blabla
field_name: field_blabla
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: 32483c59-1fa9-4acb-9870-2782db264da7
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_showrooms
field_name: field_showrooms
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: d2150010-8560-4399-ba8f-1a0993e9fc52
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_what_is_materio
field_name: field_what_is_materio
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,16 @@
uuid: 5655d673-0681-47af-8823-17794fb81645
langcode: en
status: true
dependencies:
config:
- node.type.frontpage
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
id: node.frontpage
target_entity_type_id: node
target_bundle: frontpage
default_langcode: site_default
language_alterable: false

View File

@@ -0,0 +1 @@
description: 'Des Showrooms foisonnants'

View File

@@ -0,0 +1 @@
description: 'materiO'' c''est quoi?'

View File

@@ -1,5 +1,5 @@
uuid: 75218419-b6ef-4f16-9ea9-bc7a04727826
langcode: fr
langcode: en
status: true
dependencies:
enforced:

View File

@@ -0,0 +1,17 @@
uuid: 6e1252ad-defb-409c-8b11-faa2979c74c8
langcode: en
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: frontpage
type: frontpage
description: 'a content type to edit the front page content (only one node from this CT)'
help: ''
new_revision: true
preview_mode: 1
display_submitted: false

View File

@@ -4,7 +4,7 @@ slogan: 'the material library your projects deserve'
page:
403: ''
404: ''
front: /home
front: /node/19990
admin_compact_mode: false
weight_select_max: 100
langcode: en

View File

@@ -68,6 +68,7 @@ permissions:
- 'edit any autre_son content'
- 'edit any enregistrement content'
- 'edit any evenement content'
- 'edit any frontpage content'
- 'edit any materiau content'
- 'edit any page content'
- 'edit any simplenews_issue content'
@@ -105,6 +106,7 @@ permissions:
- 'revert autre_son revisions'
- 'revert enregistrement revisions'
- 'revert evenement revisions'
- 'revert frontpage revisions'
- 'revert materiau revisions'
- 'revert page revisions'
- 'revert simplenews_issue revisions'
@@ -140,6 +142,7 @@ permissions:
- 'view contact_company profile'
- 'view enregistrement revisions'
- 'view evenement revisions'
- 'view frontpage revisions'
- 'view materiau revisions'
- 'view materio_order_type commerce_order'
- 'view member profile'