site page

This commit is contained in:
Bachir Soussi Chiadmi 2024-08-28 18:21:04 +02:00
parent cf81b2daa8
commit e86468e3fb
8 changed files with 932 additions and 21 deletions

View File

@ -15,12 +15,13 @@ dependencies:
- field.field.node.site.field_porteur_s_de_site
- field.field.node.site.field_programme_de_l_etat
- field.field.node.site.field_region
- field.field.node.site.field_sous_titre
- node.type.site
module:
- field_group
- file
- inline_entity_form
- link
- paragraphs
third_party_settings:
field_group:
group_tabs:
@ -32,7 +33,7 @@ third_party_settings:
label: Tabs
region: content
parent_name: ''
weight: 2
weight: 3
format_type: tabs
format_settings:
classes: ''
@ -89,7 +90,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 1
weight: 2
format_type: details_sidebar
format_settings:
classes: ''
@ -176,7 +177,7 @@ content:
placeholder_title: ''
third_party_settings: { }
field_mots_clefs:
type: entity_reference_autocomplete
type: entity_reference_autocomplete_tags
weight: 12
region: content
settings:
@ -209,22 +210,24 @@ content:
placeholder: ''
third_party_settings: { }
field_parties:
type: inline_entity_form_complex
type: paragraphs
weight: 22
region: content
settings:
form_mode: default
override_labels: false
label_singular: ''
label_plural: ''
allow_new: true
allow_existing: false
match_operator: CONTAINS
allow_duplicate: false
collapsible: false
collapsed: false
revision: false
removed_reference: optional
title: Paragraphe
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: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_porteur_s_de_site:
type: string_textarea
@ -250,6 +253,14 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_sous_titre:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
simple_sitemap:
weight: 6
region: content

View File

@ -15,6 +15,7 @@ dependencies:
- field.field.node.site.field_porteur_s_de_site
- field.field.node.site.field_programme_de_l_etat
- field.field.node.site.field_region
- field.field.node.site.field_sous_titre
- node.type.site
module:
- entity_reference_revisions
@ -126,6 +127,14 @@ content:
third_party_settings: { }
weight: 104
region: content
field_sous_titre:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 114
region: content
links:
settings: { }
third_party_settings: { }

View File

@ -16,6 +16,7 @@ dependencies:
- field.field.node.site.field_porteur_s_de_site
- field.field.node.site.field_programme_de_l_etat
- field.field.node.site.field_region
- field.field.node.site.field_sous_titre
- node.type.site
module:
- manage_display
@ -52,6 +53,7 @@ hidden:
field_porteur_s_de_site: true
field_programme_de_l_etat: true
field_region: true
field_sous_titre: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -4,20 +4,21 @@ status: true
dependencies:
config:
- field.field.paragraph.site_diapo.field_images
- image.style.wide
- paragraphs.paragraphs_type.site_diapo
module:
- image
- image_field_caption
id: paragraph.site_diapo.default
targetEntityType: paragraph
bundle: site_diapo
mode: default
content:
field_images:
type: image
label: above
type: image_caption
label: visually_hidden
settings:
image_style: wide
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }

View File

@ -0,0 +1,19 @@
uuid: e0c86d24-e8ae-4fad-9cf1-9e517e162272
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_sous_titre
- node.type.site
id: node.site.field_sous_titre
field_name: field_sous_titre
entity_type: node
bundle: site
label: Sous-titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -0,0 +1,21 @@
uuid: cecfa403-823d-4101-84c2-dd0df51a9fc7
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_sous_titre
field_name: field_sous_titre
entity_type: node
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

View File

@ -0,0 +1,212 @@
uuid: 509e7986-a359-474e-8ebb-27af32dc01a9
langcode: fr
status: true
dependencies:
config:
- page_manager.page.node_view
- views.view.site
module:
- ctools_block
- node
- panels
- views
id: node_view-panels_variant-0
label: Sites
weight: 0
variant: panels_variant
variant_settings:
id: panels_variant
label: null
weight: 0
uuid: 34e0c727-a4e5-415f-a250-6d6e80ea63ad
blocks:
bf8e10f4-ccca-4386-92ed-e092ea9c366d:
id: 'entity_field:node:title'
label: Titre
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -2
uuid: bf8e10f4-ccca-4386-92ed-e092ea9c366d
css_classes:
- ''
html_id: ''
css_styles: ''
cf830889-0479-4858-9af4-71930dbb3b6d:
id: 'entity_field:node:field_sous_titre'
label: Sous-titre
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -1
uuid: cf830889-0479-4858-9af4-71930dbb3b6d
css_classes:
- ''
html_id: ''
css_styles: ''
4f39a2a9-9180-481e-ac4a-168fcc5fd8e4:
id: 'entity_field:node:field_numero'
label: Numéro
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: number_integer
weight: 0
label: visually_hidden
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
region: second
weight: -3
uuid: 4f39a2a9-9180-481e-ac4a-168fcc5fd8e4
css_classes:
- ''
html_id: ''
css_styles: ''
0f521934-a0b6-49c7-9dd0-b984c8d80ef3:
id: 'entity_field:node:field_documents'
label: Documents
label_display: visible
provider: ctools_block
context_mapping:
entity: node
formatter:
type: file_default
weight: 0
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
region: first
weight: -10
uuid: 0f521934-a0b6-49c7-9dd0-b984c8d80ef3
css_classes:
- ''
html_id: ''
css_styles: ''
caf72351-9011-41f0-9bf1-d12eb70903c7:
id: 'entity_field:node:field_liens_site'
label: Liens
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: link
weight: 0
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: nofollow
target: _blank
third_party_settings: { }
region: first
weight: -9
uuid: caf72351-9011-41f0-9bf1-d12eb70903c7
css_classes:
- ''
html_id: ''
css_styles: ''
5006ac43-27c3-479d-84e4-90c5a6c1200d:
id: 'entity_field:node:field_parties'
label: Parties
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_revisions_entity_view
weight: 0
label: hidden
settings:
view_mode: default
third_party_settings: { }
region: second
weight: 2
uuid: 5006ac43-27c3-479d-84e4-90c5a6c1200d
css_classes:
- ''
html_id: ''
css_styles: ''
06132319-e1c4-45e4-9b9e-2db00c2d5ea2:
id: 'views_block:site-block_1'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
region: second
weight: 0
uuid: 06132319-e1c4-45e4-9b9e-2db00c2d5ea2
css_classes:
- ''
html_id: ''
css_styles: ''
6e59adf8-c9fe-438c-9518-413fa8f77ffb:
id: 'entity_field:node:field_mots_clefs'
label: 'Mots Clefs'
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_label
weight: 0
label: visually_hidden
settings:
link: false
third_party_settings: { }
region: second
weight: 1
uuid: 6e59adf8-c9fe-438c-9518-413fa8f77ffb
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: ''
layout: layout_threecol_25_50_25
layout_settings:
label: ''
builder: standard
storage_type: page_manager
storage_id: node_view-panels_variant-0
css_classes:
- ''
html_id: ''
css_styles: ''
page: node_view
selection_criteria:
-
id: 'entity_bundle:node'
negate: false
context_mapping:
node: node
bundles:
site: site
selection_logic: and
static_context: { }

View File

@ -0,0 +1,636 @@
uuid: 9e172612-e65e-4292-bb32-706c81ee98e3
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_collectivite_s_epci
- field.storage.node.field_departement_s
- field.storage.node.field_nom_de_la_commune_nb_d_hab
- field.storage.node.field_nom_du_qpv_nb_d_hab
- field.storage.node.field_porteur_s_de_site
- field.storage.node.field_programme_de_l_etat
- field.storage.node.field_region
- node.type.site
module:
- node
- user
id: site
label: site
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'site infos'
fields:
field_region:
id: field_region
table: node__field_region
field: field_region
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Région(s)
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
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
field_nom_du_qpv_nb_d_hab:
id: field_nom_du_qpv_nb_d_hab
table: node__field_nom_du_qpv_nb_d_hab
field: field_nom_du_qpv_nb_d_hab
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: "Nom du QPV (nb d'hab.)"
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
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
field_departement_s:
id: field_departement_s
table: node__field_departement_s
field: field_departement_s
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Département(s)
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
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
field_programme_de_l_etat:
id: field_programme_de_l_etat
table: node__field_programme_de_l_etat
field: field_programme_de_l_etat
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: "Programmes de l'état"
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
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
field_collectivite_s_epci:
id: field_collectivite_s_epci
table: node__field_collectivite_s_epci
field: field_collectivite_s_epci
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Collectivité(s)/EPCI
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: basic_string
settings: { }
group_column: value
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
field_porteur_s_de_site:
id: field_porteur_s_de_site
table: node__field_porteur_s_de_site
field: field_porteur_s_de_site
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Porteur(s) de site'
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: basic_string
settings: { }
group_column: value
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
field_nom_de_la_commune_nb_d_hab:
id: field_nom_de_la_commune_nb_d_hab
table: node__field_nom_de_la_commune_nb_d_hab
field: field_nom_de_la_commune_nb_d_hab
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: "Nom de la commune (nb d'hab.)"
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
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
pager:
type: some
options:
offset: 0
items_per_page: 1
exposed_form:
type: basic
options:
submit_button: Appliquer
reset_button: false
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
arguments:
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
site: site
style:
type: default
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_collectivite_s_epci'
- 'config:field.storage.node.field_departement_s'
- 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab'
- 'config:field.storage.node.field_nom_du_qpv_nb_d_hab'
- 'config:field.storage.node.field_porteur_s_de_site'
- 'config:field.storage.node.field_programme_de_l_etat'
- 'config:field.storage.node.field_region'
block_1:
id: block_1
display_title: 'Block site infos'
display_plugin: block
position: 1
display_options:
display_description: ''
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
simple_sitemap_display_extender: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_collectivite_s_epci'
- 'config:field.storage.node.field_departement_s'
- 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab'
- 'config:field.storage.node.field_nom_du_qpv_nb_d_hab'
- 'config:field.storage.node.field_porteur_s_de_site'
- 'config:field.storage.node.field_programme_de_l_etat'
- 'config:field.storage.node.field_region'