changed home front with config page

This commit is contained in:
2022-03-08 11:29:02 +01:00
parent 1f3c05ca2b
commit e1352ee4df
17 changed files with 453 additions and 22 deletions
@@ -0,0 +1,17 @@
uuid: f063143d-508c-4ccd-b2e8-a940decc8dc5
langcode: fr
status: true
dependencies: { }
id: home_front
label: 'Home front'
token: false
context:
show_warning: true
group:
language: false
fallback:
language: ''
menu:
path: /admin/content/homefront
weight: 0
description: ''
@@ -0,0 +1,70 @@
uuid: 24247900-8eda-44a9-bc74-2f321b86378c
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.field.config_pages.home_front.field_image_front
- field.field.config_pages.home_front.field_lien
- field.field.config_pages.home_front.field_punchline
- field.field.config_pages.home_front.field_sous_titre
- field.field.config_pages.home_front.field_titre
- field.field.config_pages.home_front.field_video_front
- image.style.thumbnail
module:
- image
- link
- video_embed_field
id: config_pages.home_front.default
targetEntityType: config_pages
bundle: home_front
mode: default
content:
field_image_front:
type: image_image
weight: 4
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_lien:
type: link_default
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_punchline:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_sous_titre:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_video_front:
type: video_embed_field_textfield
weight: 5
region: content
settings: { }
third_party_settings: { }
hidden:
label: true
@@ -0,0 +1,79 @@
uuid: 3170ec3d-ee7f-42b2-bab1-448e3758ba6e
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.field.config_pages.home_front.field_image_front
- field.field.config_pages.home_front.field_lien
- field.field.config_pages.home_front.field_punchline
- field.field.config_pages.home_front.field_sous_titre
- field.field.config_pages.home_front.field_titre
- field.field.config_pages.home_front.field_video_front
module:
- image
- link
- video_embed_field
id: config_pages.home_front.default
targetEntityType: config_pages
bundle: home_front
mode: default
content:
field_image_front:
type: image
label: hidden
settings:
image_link: ''
image_style: ''
third_party_settings: { }
weight: 4
region: content
field_lien:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 3
region: content
field_punchline:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
field_sous_titre:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
field_titre:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
field_video_front:
type: video_embed_field_video
label: hidden
settings:
autoplay: true
responsive: true
width: 854
height: 480
third_party_settings: { }
weight: 5
region: content
hidden:
search_api_excerpt: true
@@ -0,0 +1,41 @@
uuid: e35d2144-4398-48a2-9455-6c60706f18d2
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_image_front
module:
- image
id: config_pages.home_front.field_image_front
field_name: field_image_front
entity_type: config_pages
bundle: home_front
label: 'Image front'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg svg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: false
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: 0
caption_field_required: 0
field_type: image
@@ -0,0 +1,23 @@
uuid: 01fe22f7-4d24-42d9-8cb8-c6c6eda134d1
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_lien
module:
- link
id: config_pages.home_front.field_lien
field_name: field_lien
entity_type: config_pages
bundle: home_front
label: Lien
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 17
field_type: link
@@ -0,0 +1,19 @@
uuid: 344eea70-87cc-48cb-a91c-b732f4d09204
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_punchline
id: config_pages.home_front.field_punchline
field_name: field_punchline
entity_type: config_pages
bundle: home_front
label: punchline
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
@@ -0,0 +1,19 @@
uuid: e2481c93-d82b-4193-9619-4e05bf038444
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_sous_titre
id: config_pages.home_front.field_sous_titre
field_name: field_sous_titre
entity_type: config_pages
bundle: home_front
label: 'Sous titre'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
@@ -0,0 +1,19 @@
uuid: b0029295-f625-41e5-a5d4-7c88c78f054f
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_titre
id: config_pages.home_front.field_titre
field_name: field_titre
entity_type: config_pages
bundle: home_front
label: Titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
@@ -0,0 +1,25 @@
uuid: 8c335009-1d50-4a81-9315-4448dcacb2a6
langcode: fr
status: true
dependencies:
config:
- config_pages.type.home_front
- field.storage.config_pages.field_video_front
module:
- video_embed_field
id: config_pages.home_front.field_video_front
field_name: field_video_front
entity_type: config_pages
bundle: home_front
label: 'video front'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_providers:
vimeo: vimeo
youtube: youtube
youtube_playlist: '0'
field_type: video_embed_field
@@ -0,0 +1,30 @@
uuid: 97925428-2819-46b9-a88e-fa664b7d1af0
langcode: fr
status: true
dependencies:
module:
- config_pages
- file
- image
id: config_pages.field_image_front
field_name: field_image_front
entity_type: config_pages
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,19 @@
uuid: 117fcc9b-f1d9-4121-b839-9bed69963195
langcode: fr
status: true
dependencies:
module:
- config_pages
- link
id: config_pages.field_lien
field_name: field_lien
entity_type: config_pages
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,21 @@
uuid: c81e972e-9154-4db9-9d5f-147ed2508dac
langcode: fr
status: true
dependencies:
module:
- config_pages
id: config_pages.field_punchline
field_name: field_punchline
entity_type: config_pages
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,21 @@
uuid: 476ebf08-2ee1-4500-9daa-1641bedd7b1b
langcode: fr
status: true
dependencies:
module:
- config_pages
id: config_pages.field_sous_titre
field_name: field_sous_titre
entity_type: config_pages
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,21 @@
uuid: 4c31ef2f-2769-444f-a045-f137a968ac0a
langcode: fr
status: true
dependencies:
module:
- config_pages
id: config_pages.field_titre
field_name: field_titre
entity_type: config_pages
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,19 @@
uuid: 07ff4784-a0e5-4bce-8e33-c26032d39d9b
langcode: fr
status: true
dependencies:
module:
- config_pages
- video_embed_field
id: config_pages.field_video_front
field_name: field_video_front
entity_type: config_pages
type: video_embed_field
settings: { }
module: video_embed_field
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -7,12 +7,12 @@ dependencies:
- views.view.actus_blocks_pages
- views.view.home_nodes
content:
- 'block_content:custom:7db64d87-3e22-4fbd-9c11-2b95f5bef695'
- 'block_content:link:1bb9024b-d95f-4137-894c-362abf10a483'
- 'block_content:link:3ee1f633-aaa7-4b4c-a42a-02206e26d3a2'
- 'block_content:link:9448ca2a-90e3-488b-89cf-8ec6a986a9ca'
module:
- block_content
- config_pages
- panels
- views
id: home-panels_variant-0
@@ -48,17 +48,6 @@ variant_settings:
region: content
weight: 2
uuid: 1aa3934c-9f4d-4f46-b01c-646650c1f5d7
a9152c77-cd40-4afd-965a-22e8a26e0111:
id: 'views_block:home_nodes-block_1'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
region: content
weight: -2
uuid: a9152c77-cd40-4afd-965a-22e8a26e0111
43740d19-3425-40db-986a-bde244d94ae5:
id: 'views_block:home_nodes-block_2'
label: ''
@@ -94,18 +83,17 @@ variant_settings:
region: content
weight: -1
uuid: 55eebbc0-0094-4a1f-be54-ec7cd3ea860c
3c171032-84f2-4e9e-831a-b20ea8f09f54:
id: 'block_content:7db64d87-3e22-4fbd-9c11-2b95f5bef695'
label: 'date limite de candidature'
97f7bd27-40a9-46f6-891f-c3b790c666d1:
config_page_type: home_front
config_page_view_mode: full
id: config_pages_block
label: 'ConfigPages Block'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
provider: config_pages
context_mapping: { }
region: content
weight: 0
uuid: 3c171032-84f2-4e9e-831a-b20ea8f09f54
weight: -2
uuid: 97f7bd27-40a9-46f6-891f-c3b790c666d1
page_title: ''
layout: layout_onecol
layout_settings: