diff --git a/config/sync/core.entity_view_display.node.ressource.teaser.yml b/config/sync/core.entity_view_display.node.ressource.teaser.yml index 3aaedc0..6b9fbd0 100644 --- a/config/sync/core.entity_view_display.node.ressource.teaser.yml +++ b/config/sync/core.entity_view_display.node.ressource.teaser.yml @@ -37,7 +37,7 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 5 + weight: 6 region: content field_date_de_parution: type: datetime_default @@ -46,14 +46,14 @@ content: timezone_override: '' format_type: html_year third_party_settings: { } - weight: 6 + weight: 7 region: content field_edition: type: text_default label: hidden settings: { } third_party_settings: { } - weight: 4 + weight: 5 region: content field_images: type: image_delta_formatter @@ -74,7 +74,7 @@ content: settings: link: true third_party_settings: { } - weight: 7 + weight: 8 region: content field_sous_titre: type: string @@ -82,9 +82,9 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 3 + weight: 4 region: content - field_type_de_ressource: + field_type_de_media: type: entity_reference_label label: hidden settings: @@ -92,10 +92,18 @@ content: third_party_settings: { } weight: 1 region: content + field_type_de_ressource: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 2 + region: content links: settings: { } third_party_settings: { } - weight: 8 + weight: 9 region: content title: type: title @@ -104,7 +112,7 @@ content: linked: true tag: h2 third_party_settings: { } - weight: 2 + weight: 3 region: content hidden: created: true @@ -115,7 +123,6 @@ hidden: field_projets_liee: true field_ress: true field_textes: true - field_type_de_media: true field_videos: true langcode: true search_api_excerpt: true diff --git a/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml b/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml index 2a5f8e6..48d5b7f 100644 --- a/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml @@ -5,10 +5,7 @@ dependencies: config: - page_manager.page.ressources - views.view.base_de_donnees - content: - - 'block_content:link:82917d0c-5004-4bfb-af66-ce334782d82d' module: - - block_content - config_pages - panels - views @@ -33,18 +30,6 @@ variant_settings: region: content weight: 1 uuid: 30853c04-a97a-48e8-beaa-f17090eeb714 - f812b08b-afca-4652-a883-d4fc4eea791a: - id: 'block_content:82917d0c-5004-4bfb-af66-ce334782d82d' - label: 'Ressource form' - label_display: '0' - provider: block_content - status: true - info: '' - view_mode: full - context_mapping: { } - region: content - weight: 2 - uuid: f812b08b-afca-4652-a883-d4fc4eea791a ea249519-f398-4b55-9f11-ab0e2a613ef5: config_page_type: base_de_donnees config_page_view_mode: full diff --git a/config/sync/views.view.base_de_donnees.yml b/config/sync/views.view.base_de_donnees.yml index c9da256..34b4a06 100644 --- a/config/sync/views.view.base_de_donnees.yml +++ b/config/sync/views.view.base_de_donnees.yml @@ -4,8 +4,10 @@ status: true dependencies: config: - core.entity_view_mode.node.teaser + - field.storage.node.field_type_de_ressource - node.type.ressource - taxonomy.vocabulary.tag_ressource + - taxonomy.vocabulary.type_de_media - taxonomy.vocabulary.types_de_ressource module: - datetime @@ -75,6 +77,69 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_type_de_ressource: + id: field_type_de_ressource + table: node__field_type_de_ressource + field: field_type_de_ressource + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + 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: 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 pager: type: none options: @@ -130,56 +195,6 @@ display: operator: '' operator_limit_selection: false operator_list: { } - field_date_de_parution_value: - id: field_date_de_parution_value - table: node__field_date_de_parution - field: field_date_de_parution_value - relationship: none - group_type: group - admin_label: '' - plugin_id: datetime - operator: '=' - value: - min: '' - max: '' - value: '' - type: date - group: 1 - exposed: true - expose: - operator_id: field_date_de_parution_value_op - label: Date - description: '' - use_operator: false - operator: field_date_de_parution_value_op - operator_limit_selection: false - operator_list: { } - identifier: field_date_de_parution_value - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - admin: '0' - root: '0' - user: '0' - editeur: '0' - min_placeholder: '' - max_placeholder: '' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } type: id: type table: node_field_data @@ -193,6 +208,62 @@ display: expose: operator_limit_selection: false operator_list: { } + field_type_de_media_target_id: + id: field_type_de_media_target_id + table: node__field_type_de_media + field: field_type_de_media_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_type_de_media_target_id_op + label: 'Type de media' + description: '' + use_operator: false + operator: field_type_de_media_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_type_de_media_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: type_de_media + 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_type_de_ressource_target_id: id: field_type_de_ressource_target_id table: node__field_type_de_ressource @@ -207,7 +278,7 @@ display: exposed: true expose: operator_id: field_type_de_ressource_target_id_op - label: 'Type de ressource' + label: 'Type de contenus' description: '' use_operator: false operator: field_type_de_ressource_target_id_op @@ -295,7 +366,7 @@ display: group_items: { } reduce_duplicates: false vid: tag_ressource - type: textfield + type: select hierarchy: false limit: true error_message: true @@ -305,12 +376,71 @@ display: level_labels: '' hierarchy_depth: 0 required_depth: 0 + field_date_de_parution_value: + id: field_date_de_parution_value + table: node__field_date_de_parution + field: field_date_de_parution_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + operator: '=' + value: + min: '' + max: '' + value: '' + type: date + group: 1 + exposed: true + expose: + operator_id: field_date_de_parution_value_op + label: Date + description: '' + use_operator: false + operator: field_date_de_parution_value_op + operator_limit_selection: false + operator_list: { } + identifier: field_date_de_parution_value + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + editeur: '0' + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } filter_groups: operator: AND groups: 1: AND style: type: default + options: + grouping: + - + field: field_type_de_ressource + rendered: true + rendered_strip: false + row_class: '' + default_row_class: true + uses_fields: true row: type: 'entity:node' options: @@ -337,7 +467,8 @@ display: - user - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:field.storage.node.field_type_de_ressource' block_1: id: block_1 display_title: 'Block bdd' @@ -348,83 +479,83 @@ display: display_extenders: views_ef_fieldset: views_ef_fieldset: - enabled: 0 + enabled: false options: sort: root: container_type: details - title: Filtres - description: '' - open: '1' - weight: '0' - id: root - pid: '' depth: '0' + description: '' + id: root + open: true + pid: '' + title: Filtres type: container + weight: '0' field_date_de_parution_value: - weight: '-8' + depth: '1' id: field_date_de_parution_value pid: root - depth: '1' type: filter - field_type_de_ressource_target_id: weight: '-8' + field_type_de_ressource_target_id: + depth: '1' id: field_type_de_ressource_target_id pid: root - depth: '1' type: filter - field_mots_clefs_target_id: weight: '-8' + field_mots_clefs_target_id: + depth: '1' id: field_mots_clefs_target_id pid: root - depth: '1' type: filter - submit: weight: '-8' + submit: + depth: '1' id: submit pid: root - depth: '1' type: buttons + weight: '-8' container-0: container_type: details - title: 'Container 0' - description: '' - weight: '-7' - open: 0 - id: container-0 - pid: root depth: '1' + description: '' + id: container-0 + open: false + pid: root + title: 'Container 0' type: container + weight: '-7' container-1: container_type: details - title: 'Container 1' - description: '' - weight: '-6' - open: 0 - id: container-1 - pid: root depth: '1' + description: '' + id: container-1 + open: false + pid: root + title: 'Container 1' type: container + weight: '-6' container-2: container_type: details - title: 'Container 2' - description: '' - weight: '-5' - open: 0 - id: container-2 - pid: root depth: '1' + description: '' + id: container-2 + open: false + pid: root + title: 'Container 2' type: container + weight: '-5' container-3: container_type: details - title: 'Container 3' - description: '' - weight: '-4' - open: 0 - id: container-3 - pid: root depth: '1' + description: '' + id: container-3 + open: false + pid: root + title: 'Container 3' type: container + weight: '-4' block_category: 'Ressources (Views)' block_hide_empty: true allow: @@ -444,4 +575,5 @@ display: - user - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:field.storage.node.field_type_de_ressource'