ressources bdd views op

This commit is contained in:
2021-12-14 14:31:27 +01:00
parent d73b6e26df
commit 30c296a758
6 changed files with 575 additions and 38 deletions
+274 -21
View File
@@ -3,10 +3,14 @@ langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- core.entity_view_mode.node.teaser
- node.type.ressource
- taxonomy.vocabulary.collection
- taxonomy.vocabulary.tag_ressource
- taxonomy.vocabulary.types_de_ressource
module:
- node
- taxonomy
- user
id: base_de_donnees
label: 'Base de données'
@@ -40,11 +44,11 @@ display:
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
submit_button: Filtrer
reset_button: true
reset_button_label: Tout
exposed_sorts_label: 'Sort by'
expose_sort_order: true
expose_sort_order: false
sort_asc_label: Asc
sort_desc_label: Desc
pager:
@@ -57,7 +61,8 @@ display:
row:
type: 'entity:node'
options:
view_mode: full
relationship: none
view_mode: teaser
fields:
title:
id: title
@@ -132,6 +137,118 @@ display:
expose:
operator_limit_selection: false
operator_list: { }
field_type_de_ressource_target_id:
id: field_type_de_ressource_target_id
table: node__field_type_de_ressource
field: field_type_de_ressource_target_id
relationship: none
group_type: group
admin_label: ''
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_type_de_ressource_target_id_op
label: 'Type de ressource'
description: ''
use_operator: false
operator: field_type_de_ressource_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: field_type_de_ressource_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
type: select
limit: true
vid: types_de_ressource
hierarchy: false
error_message: true
parent: 0
level_labels: ''
force_deepest: false
save_lineage: false
hierarchy_depth: 0
required_depth: 0
plugin_id: taxonomy_index_tid
field_mots_clefs_target_id:
id: field_mots_clefs_target_id
table: node__field_mots_clefs
field: field_mots_clefs_target_id
relationship: none
group_type: group
admin_label: ''
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_mots_clefs_target_id_op
label: 'Mots clefs'
description: ''
use_operator: false
operator: field_mots_clefs_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: field_mots_clefs_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
type: textfield
limit: true
vid: tag_ressource
hierarchy: false
error_message: true
parent: 0
level_labels: ''
force_deepest: false
save_lineage: false
hierarchy_depth: 0
required_depth: 0
plugin_id: taxonomy_index_tid
sorts:
created:
id: created
@@ -153,27 +270,163 @@ display:
footer: { }
empty: { }
relationships: { }
arguments: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }
block_1:
display_plugin: block
id: block_1
display_title: Block
position: 1
display_options:
arguments:
field_collections_target_id:
id: field_collections_target_id
table: node__field_collections
field: field_collections_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:taxonomy_term'
fail: ignore
validate_options:
bundles:
collection: collection
operation: view
multiple: 0
access: false
break_phrase: false
not: false
plugin_id: numeric
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user
- 'user.node_grants:view'
- user.permissions
tags: { }
block_1:
display_plugin: block
id: block_1
display_title: 'Block bdd'
position: 1
display_options:
display_extenders:
views_ef_fieldset:
views_ef_fieldset:
enabled: 0
options:
sort:
root:
container_type: details
title: Filtres
description: ''
open: '1'
weight: '0'
id: root
pid: ''
depth: '0'
type: container
field_type_de_ressource_target_id:
weight: '-8'
id: field_type_de_ressource_target_id
pid: root
depth: '1'
type: filter
field_mots_clefs_target_id:
weight: '-8'
id: field_mots_clefs_target_id
pid: root
depth: '1'
type: filter
field_collections_target_id:
weight: '-8'
id: field_collections_target_id
pid: root
depth: '1'
type: filter
submit:
weight: '-8'
id: submit
pid: root
depth: '1'
type: buttons
container-0:
container_type: details
title: 'Container 0'
description: ''
weight: '-7'
open: 0
id: container-0
pid: root
depth: '1'
type: container
container-1:
container_type: details
title: 'Container 1'
description: ''
weight: '-6'
open: 0
id: container-1
pid: root
depth: '1'
type: container
container-2:
container_type: details
title: 'Container 2'
description: ''
weight: '-5'
open: 0
id: container-2
pid: root
depth: '1'
type: container
container-3:
container_type: details
title: 'Container 3'
description: ''
weight: '-4'
open: 0
id: container-3
pid: root
depth: '1'
type: container
display_description: ''
allow:
items_per_page: false
offset: '0'
pager: '0'
hide_fields: '0'
sort_fields: '0'
disable_filters: '0'
configure_sorts: '0'
block_hide_empty: true
block_category: 'Ressources (Views)'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user
- 'user.node_grants:view'
- user.permissions
tags: { }