#2169 added region to projects and to prog side menu

This commit is contained in:
Bachir Soussi Chiadmi 2023-06-27 15:54:58 +02:00
parent 1e77f48926
commit db549739a7
8 changed files with 338 additions and 10 deletions

View File

@ -17,6 +17,7 @@ dependencies:
- field.field.node.projet.field_partenaires
- field.field.node.projet.field_programme
- field.field.node.projet.field_projets_lies
- field.field.node.projet.field_region
- field.field.node.projet.field_ressources_liees
- field.field.node.projet.field_textes
- field.field.node.projet.field_themes_lies
@ -47,7 +48,7 @@ third_party_settings:
label: Tabs
region: content
parent_name: ''
weight: 3
weight: 4
format_type: tabs
format_settings:
classes: ''
@ -59,7 +60,7 @@ third_party_settings:
label: Équipes
region: content
parent_name: group_tabs
weight: 10
weight: 11
format_type: tab
format_settings:
classes: ''
@ -73,7 +74,7 @@ third_party_settings:
label: Partenaires
region: content
parent_name: group_tabs
weight: 11
weight: 12
format_type: tab
format_settings:
classes: ''
@ -105,7 +106,7 @@ third_party_settings:
label: Liens
region: content
parent_name: group_tabs
weight: 12
weight: 13
format_type: tab
format_settings:
classes: ''
@ -120,7 +121,7 @@ third_party_settings:
label: Media
region: content
parent_name: group_tabs
weight: 20
weight: 15
format_type: tab
format_settings:
classes: ''
@ -138,7 +139,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 20
weight: 5
format_type: details_sidebar
format_settings:
classes: ''
@ -169,7 +170,7 @@ third_party_settings:
label: Adresse
region: content
parent_name: group_tabs
weight: 9
weight: 10
format_type: tab
format_settings:
classes: ''
@ -266,7 +267,7 @@ content:
third_party_settings: { }
field_ge:
type: geofield_latlon
weight: 28
weight: 29
region: content
settings:
html5_geolocation: false
@ -318,6 +319,12 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_region:
type: options_select
weight: 3
region: content
settings: { }
third_party_settings: { }
field_ressources_liees:
type: entity_reference_autocomplete
weight: 10

View File

@ -18,6 +18,7 @@ dependencies:
- field.field.node.projet.field_partenaires
- field.field.node.projet.field_programme
- field.field.node.projet.field_projets_lies
- field.field.node.projet.field_region
- field.field.node.projet.field_ressources_liees
- field.field.node.projet.field_textes
- field.field.node.projet.field_themes_lies
@ -67,6 +68,7 @@ hidden:
field_memo: true
field_partenaires: true
field_projets_lies: true
field_region: true
field_ressources_liees: true
field_textes: true
field_themes_lies: true

View File

@ -17,6 +17,7 @@ dependencies:
- field.field.node.projet.field_partenaires
- field.field.node.projet.field_programme
- field.field.node.projet.field_projets_lies
- field.field.node.projet.field_region
- field.field.node.projet.field_ressources_liees
- field.field.node.projet.field_textes
- field.field.node.projet.field_themes_lies
@ -136,6 +137,14 @@ content:
third_party_settings: { }
weight: 5
region: content
field_region:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 16
region: content
field_ressources_liees:
type: entity_reference_label
label: above

View File

@ -18,6 +18,7 @@ dependencies:
- field.field.node.projet.field_partenaires
- field.field.node.projet.field_programme
- field.field.node.projet.field_projets_lies
- field.field.node.projet.field_region
- field.field.node.projet.field_ressources_liees
- field.field.node.projet.field_textes
- field.field.node.projet.field_themes_lies
@ -80,6 +81,7 @@ hidden:
field_memo: true
field_partenaires: true
field_projets_lies: true
field_region: true
field_ressources_liees: true
field_textes: true
field_themes_lies: true

View File

@ -0,0 +1,29 @@
uuid: 50db3c13-4a61-40dc-8fa0-d7e18f41788e
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_region
- node.type.projet
- taxonomy.vocabulary.regions
id: node.projet.field_region
field_name: field_region
entity_type: node
bundle: projet
label: Région
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
regions: regions
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,20 @@
uuid: 22a1ea89-6d52-4507-b2b1-3de0b0cd88dc
langcode: fr
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_region
field_name: field_region
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -16,6 +16,7 @@ dependencies:
- field.storage.node.field_programme
- field.storage.node.field_projet
- field.storage.node.field_projets_lies
- field.storage.node.field_region
- field.storage.node.field_ressources_liees
- field.storage.node.field_sous_titre
- field.storage.node.field_theme
@ -33,6 +34,7 @@ dependencies:
- node.type.ressource
- node.type.static
- node.type.theme
- taxonomy.vocabulary.regions
- taxonomy.vocabulary.types_de_theme
- taxonomy.vocabulary.villes
module:
@ -2584,6 +2586,69 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
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
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: entity_reference_label
settings:
link: true
group_column: target_id
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_ville:
id: field_ville
table: node__field_ville
@ -3273,6 +3338,62 @@ display:
level_labels: ''
hierarchy_depth: 0
required_depth: 0
field_region_target_id:
id: field_region_target_id
table: node__field_region
field: field_region_target_id
relationship: none
group_type: group
admin_label: ''
plugin_id: taxonomy_index_tid
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_region_target_id_op
label: 'Région (field_region)'
description: ''
use_operator: false
operator: field_region_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: field_region_target_id
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
user: '0'
editeur: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
vid: regions
type: select
hierarchy: false
limit: true
error_message: true
save_lineage: false
force_deepest: false
parent: 0
level_labels: ''
hierarchy_depth: 0
required_depth: 0
field_memo_value:
id: field_memo_value
table: node__field_memo
@ -3465,6 +3586,7 @@ display:
- 'config:field.storage.node.field_partenaires'
- 'config:field.storage.node.field_programme'
- 'config:field.storage.node.field_projets_lies'
- 'config:field.storage.node.field_region'
- 'config:field.storage.node.field_themes_lies'
- 'config:field.storage.node.field_type_de_projet'
- 'config:field.storage.node.field_ville'

View File

@ -9,6 +9,7 @@ dependencies:
- field.storage.node.field_logo
- field.storage.node.field_programme
- field.storage.node.field_projet
- field.storage.node.field_region
- field.storage.node.field_sous_titre
- field.storage.node.field_themes_lies
- field.storage.node.field_type_evenement
@ -568,6 +569,69 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
field_region:
id: field_region
table: node__field_region
field: field_region
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
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: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
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
view_node:
id: view_node
table: node
@ -819,7 +883,11 @@ display:
style:
type: default
options:
grouping: { }
grouping:
-
field: field_region
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
row:
@ -872,6 +940,7 @@ display:
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_region'
- 'config:field.storage.node.field_ville'
block_11:
id: block_11
@ -2749,6 +2818,69 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
field_region:
id: field_region
table: node__field_region
field: field_region
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
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: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
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
view_node:
id: view_node
table: node
@ -3000,7 +3132,11 @@ display:
style:
type: default
options:
grouping: { }
grouping:
-
field: field_region
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
row:
@ -3053,6 +3189,7 @@ display:
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_region'
- 'config:field.storage.node.field_ville'
block_5:
id: block_5