ressources thèmes and filters
This commit is contained in:
@@ -10,6 +10,7 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
- field.field.node.ressource.field_site
|
- field.field.node.ressource.field_site
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_themes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- image.style.thumbnail
|
- image.style.thumbnail
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
@@ -25,8 +26,9 @@ third_party_settings:
|
|||||||
group_details:
|
group_details:
|
||||||
children:
|
children:
|
||||||
- field_site
|
- field_site
|
||||||
- field_auteur
|
|
||||||
- field_type_de_ressource
|
- field_type_de_ressource
|
||||||
|
- field_themes
|
||||||
|
- field_auteur
|
||||||
- status
|
- status
|
||||||
- promote
|
- promote
|
||||||
label: Details
|
label: Details
|
||||||
@@ -111,7 +113,7 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_auteur:
|
field_auteur:
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
weight: 9
|
weight: 11
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
@@ -158,7 +160,7 @@ content:
|
|||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_type_de_ressource:
|
field_themes:
|
||||||
type: autocomplete_deluxe
|
type: autocomplete_deluxe
|
||||||
weight: 10
|
weight: 10
|
||||||
region: content
|
region: content
|
||||||
@@ -175,16 +177,33 @@ content:
|
|||||||
new_terms: false
|
new_terms: false
|
||||||
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_type_de_ressource:
|
||||||
|
type: autocomplete_deluxe
|
||||||
|
weight: 9
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
autocomplete_route_name: autocomplete_deluxe.autocomplete
|
||||||
|
size: 60
|
||||||
|
selection_handler: default
|
||||||
|
limit: 10
|
||||||
|
min_length: 0
|
||||||
|
delimiter: ''
|
||||||
|
not_found_message_allow: false
|
||||||
|
not_found_message: "The term '@term' will be added"
|
||||||
|
new_terms: false
|
||||||
|
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
||||||
|
third_party_settings: { }
|
||||||
promote:
|
promote:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 12
|
weight: 13
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 11
|
weight: 12
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
- field.field.node.ressource.field_site
|
- field.field.node.ressource.field_site
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_themes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
module:
|
module:
|
||||||
@@ -28,7 +29,7 @@ content:
|
|||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 5
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
field_auteur:
|
field_auteur:
|
||||||
type: string
|
type: string
|
||||||
@@ -44,7 +45,7 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
use_description_as_link_text: true
|
use_description_as_link_text: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 6
|
weight: 7
|
||||||
region: content
|
region: content
|
||||||
field_image:
|
field_image:
|
||||||
type: image
|
type: image
|
||||||
@@ -67,7 +68,7 @@ content:
|
|||||||
rel: ''
|
rel: ''
|
||||||
target: ''
|
target: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 7
|
weight: 8
|
||||||
region: content
|
region: content
|
||||||
field_site:
|
field_site:
|
||||||
type: entity_reference_label
|
type: entity_reference_label
|
||||||
@@ -85,6 +86,14 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 2
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
|
field_themes:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
field_type_de_ressource:
|
field_type_de_ressource:
|
||||||
type: entity_reference_label
|
type: entity_reference_label
|
||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
- field.field.node.ressource.field_site
|
- field.field.node.ressource.field_site
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_themes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
module:
|
module:
|
||||||
@@ -40,6 +41,7 @@ hidden:
|
|||||||
field_image: true
|
field_image: true
|
||||||
field_liens: true
|
field_liens: true
|
||||||
field_site: true
|
field_site: true
|
||||||
|
field_themes: true
|
||||||
field_type_de_ressource: true
|
field_type_de_ressource: true
|
||||||
langcode: true
|
langcode: true
|
||||||
search_api_excerpt: true
|
search_api_excerpt: true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
- field.field.node.ressource.field_site
|
- field.field.node.ressource.field_site
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_themes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- image.style.large
|
- image.style.large
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
@@ -28,7 +29,7 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 3
|
weight: 4
|
||||||
region: content
|
region: content
|
||||||
field_image:
|
field_image:
|
||||||
type: image
|
type: image
|
||||||
@@ -47,7 +48,7 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
link: true
|
link: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 4
|
weight: 5
|
||||||
region: content
|
region: content
|
||||||
field_sous_titre:
|
field_sous_titre:
|
||||||
type: string
|
type: string
|
||||||
@@ -57,6 +58,14 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 2
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
|
field_themes:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
field_type_de_ressource:
|
field_type_de_ressource:
|
||||||
type: entity_reference_label
|
type: entity_reference_label
|
||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
@@ -68,7 +77,7 @@ content:
|
|||||||
links:
|
links:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 5
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
body: true
|
body: true
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
uuid: 99a16ee1-b3da-4133-86bc-29ebea7c446b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_themes
|
||||||
|
- node.type.ressource
|
||||||
|
- taxonomy.vocabulary.theme_ressource
|
||||||
|
id: node.ressource.field_themes
|
||||||
|
field_name: field_themes
|
||||||
|
entity_type: node
|
||||||
|
bundle: ressource
|
||||||
|
label: Thèmes
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:taxonomy_term'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
theme_ressource: theme_ressource
|
||||||
|
sort:
|
||||||
|
field: name
|
||||||
|
direction: asc
|
||||||
|
auto_create: true
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
uuid: 20a41f10-c80c-42c2-8d17-5b992548a95d
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- field_permissions
|
||||||
|
- node
|
||||||
|
- taxonomy
|
||||||
|
third_party_settings:
|
||||||
|
field_permissions:
|
||||||
|
permission_type: public
|
||||||
|
id: node.field_themes
|
||||||
|
field_name: field_themes
|
||||||
|
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
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
uuid: dd1fa500-b60f-4e93-a3aa-78c57570a8f6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- taxonomy.vocabulary.theme_ressource
|
||||||
|
id: taxonomy_term.theme_ressource
|
||||||
|
target_entity_type_id: taxonomy_term
|
||||||
|
target_bundle: theme_ressource
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
uuid: aa8b5627-2f03-4ef3-aae4-3c2010174700
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: 'Thème ressource'
|
||||||
|
vid: theme_ressource
|
||||||
|
description: ''
|
||||||
|
weight: 0
|
||||||
@@ -6,6 +6,7 @@ dependencies:
|
|||||||
- core.entity_view_mode.node.teaser
|
- core.entity_view_mode.node.teaser
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
- system.menu.main
|
- system.menu.main
|
||||||
|
- taxonomy.vocabulary.theme_ressource
|
||||||
- taxonomy.vocabulary.type_de_ressource
|
- taxonomy.vocabulary.type_de_ressource
|
||||||
module:
|
module:
|
||||||
- node
|
- node
|
||||||
@@ -96,7 +97,7 @@ display:
|
|||||||
type: basic
|
type: basic
|
||||||
options:
|
options:
|
||||||
submit_button: Appliquer
|
submit_button: Appliquer
|
||||||
reset_button: false
|
reset_button: true
|
||||||
reset_button_label: Réinitialiser
|
reset_button_label: Réinitialiser
|
||||||
exposed_sorts_label: 'Trier par'
|
exposed_sorts_label: 'Trier par'
|
||||||
expose_sort_order: true
|
expose_sort_order: true
|
||||||
@@ -149,30 +150,30 @@ display:
|
|||||||
plugin_id: bundle
|
plugin_id: bundle
|
||||||
value:
|
value:
|
||||||
ressource: ressource
|
ressource: ressource
|
||||||
field_site_target_id:
|
group: 1
|
||||||
id: field_site_target_id
|
title:
|
||||||
table: node__field_site
|
id: title
|
||||||
field: field_site_target_id
|
table: node_field_data
|
||||||
|
field: title
|
||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
plugin_id: numeric
|
entity_type: node
|
||||||
operator: '='
|
entity_field: title
|
||||||
value:
|
plugin_id: string
|
||||||
min: ''
|
operator: contains
|
||||||
max: ''
|
value: ''
|
||||||
value: ''
|
|
||||||
group: 1
|
group: 1
|
||||||
exposed: true
|
exposed: true
|
||||||
expose:
|
expose:
|
||||||
operator_id: field_site_target_id_op
|
operator_id: title_op
|
||||||
label: Site
|
label: Titre
|
||||||
description: ''
|
description: ''
|
||||||
use_operator: false
|
use_operator: false
|
||||||
operator: field_site_target_id_op
|
operator: title_op
|
||||||
operator_limit_selection: false
|
operator_limit_selection: false
|
||||||
operator_list: { }
|
operator_list: { }
|
||||||
identifier: field_site_target_id
|
identifier: title
|
||||||
required: false
|
required: false
|
||||||
remember: false
|
remember: false
|
||||||
multiple: false
|
multiple: false
|
||||||
@@ -182,8 +183,7 @@ display:
|
|||||||
admin: '0'
|
admin: '0'
|
||||||
root: '0'
|
root: '0'
|
||||||
editor: '0'
|
editor: '0'
|
||||||
min_placeholder: ''
|
collaborateur: '0'
|
||||||
max_placeholder: ''
|
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
is_grouped: false
|
is_grouped: false
|
||||||
group_info:
|
group_info:
|
||||||
@@ -197,6 +197,63 @@ display:
|
|||||||
default_group: All
|
default_group: All
|
||||||
default_group_multiple: { }
|
default_group_multiple: { }
|
||||||
group_items: { }
|
group_items: { }
|
||||||
|
field_themes_target_id:
|
||||||
|
id: field_themes_target_id
|
||||||
|
table: node__field_themes
|
||||||
|
field: field_themes_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_themes_target_id_op
|
||||||
|
label: Thèmes
|
||||||
|
description: ''
|
||||||
|
use_operator: false
|
||||||
|
operator: field_themes_target_id_op
|
||||||
|
operator_limit_selection: false
|
||||||
|
operator_list: { }
|
||||||
|
identifier: field_themes_target_id
|
||||||
|
required: false
|
||||||
|
remember: false
|
||||||
|
multiple: false
|
||||||
|
remember_roles:
|
||||||
|
authenticated: authenticated
|
||||||
|
anonymous: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
editor: '0'
|
||||||
|
collaborateur: '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: theme_ressource
|
||||||
|
type: select
|
||||||
|
hierarchy: false
|
||||||
|
limit: true
|
||||||
|
error_message: true
|
||||||
|
save_lineage: false
|
||||||
|
force_deepest: false
|
||||||
|
parent: null
|
||||||
|
level_labels: ''
|
||||||
|
hierarchy_depth: 0
|
||||||
|
required_depth: 0
|
||||||
|
none_label: '- Please select -'
|
||||||
field_type_de_ressource_target_id:
|
field_type_de_ressource_target_id:
|
||||||
id: field_type_de_ressource_target_id
|
id: field_type_de_ressource_target_id
|
||||||
table: node__field_type_de_ressource
|
table: node__field_type_de_ressource
|
||||||
@@ -220,13 +277,14 @@ display:
|
|||||||
identifier: field_type_de_ressource_target_id
|
identifier: field_type_de_ressource_target_id
|
||||||
required: false
|
required: false
|
||||||
remember: false
|
remember: false
|
||||||
multiple: true
|
multiple: false
|
||||||
remember_roles:
|
remember_roles:
|
||||||
authenticated: authenticated
|
authenticated: authenticated
|
||||||
anonymous: '0'
|
anonymous: '0'
|
||||||
admin: '0'
|
admin: '0'
|
||||||
root: '0'
|
root: '0'
|
||||||
editor: '0'
|
editor: '0'
|
||||||
|
collaborateur: '0'
|
||||||
reduce: false
|
reduce: false
|
||||||
is_grouped: false
|
is_grouped: false
|
||||||
group_info:
|
group_info:
|
||||||
@@ -240,7 +298,7 @@ display:
|
|||||||
default_group: All
|
default_group: All
|
||||||
default_group_multiple: { }
|
default_group_multiple: { }
|
||||||
group_items: { }
|
group_items: { }
|
||||||
reduce_duplicates: true
|
reduce_duplicates: false
|
||||||
vid: type_de_ressource
|
vid: type_de_ressource
|
||||||
type: select
|
type: select
|
||||||
hierarchy: false
|
hierarchy: false
|
||||||
@@ -253,6 +311,10 @@ display:
|
|||||||
hierarchy_depth: 0
|
hierarchy_depth: 0
|
||||||
required_depth: 0
|
required_depth: 0
|
||||||
none_label: '- Please select -'
|
none_label: '- Please select -'
|
||||||
|
filter_groups:
|
||||||
|
operator: AND
|
||||||
|
groups:
|
||||||
|
1: AND
|
||||||
style:
|
style:
|
||||||
type: default
|
type: default
|
||||||
row:
|
row:
|
||||||
|
|||||||
Reference in New Issue
Block a user