From 8ae4061e64c029108484c33ff0f545ee98a0383c Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 5 Nov 2024 10:34:02 +0100 Subject: [PATCH] added styled sitesmap_block into lessites view --- composer.json | 1 + composer.lock | 77 ++++++++++++++++++++++++++++---- config/sync/core.extension.yml | 1 + config/sync/views.view.sites.yml | 14 +++--- 4 files changed, 78 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index deed314..d1536fd 100644 --- a/composer.json +++ b/composer.json @@ -37,6 +37,7 @@ "drupal/quick_node_clone": "^1.18", "drupal/simple_sitemap": "^4.1", "drupal/social_media_links": "^2.9", + "drupal/views_block_area": "^1.0@beta", "drupal/viewsreference": "^2.0@beta", "drupal/yaml_editor": "^1.2", "drush/drush": "^12.4", diff --git a/composer.lock b/composer.lock index 2afe550..03e7dc4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d9c788ae880184300ad1f5beb62e85a1", + "content-hash": "3f682451141745b61e2f384d1c28ce84", "packages": [ { "name": "asm89/stack-cors", @@ -7563,6 +7563,66 @@ "source": "https://git.drupalcode.org/project/video_embed_field" } }, + { + "name": "drupal/views_block_area", + "version": "1.0.0-beta4", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/views_block_area.git", + "reference": "8.x-1.0-beta4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/views_block_area-8.x-1.0-beta4.zip", + "reference": "8.x-1.0-beta4", + "shasum": "8386f4946340d2284b3ab830e698ec0954b14de0" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.0-beta4", + "datestamp": "1674121539", + "security-coverage": { + "status": "not-covered", + "message": "Beta releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "bohart", + "homepage": "https://www.drupal.org/user/289861" + }, + { + "name": "cafuego", + "homepage": "https://www.drupal.org/user/218525" + }, + { + "name": "Leon Kessler", + "homepage": "https://www.drupal.org/user/595374" + }, + { + "name": "nils.destoop", + "homepage": "https://www.drupal.org/user/361625" + }, + { + "name": "paulrad", + "homepage": "https://www.drupal.org/user/3722439" + } + ], + "description": "Exposes all blocks as a views area.", + "homepage": "https://www.drupal.org/project/views_block_area", + "support": { + "source": "https://git.drupalcode.org/project/views_block_area" + } + }, { "name": "drupal/views_bulk_edit", "version": "2.9.0", @@ -12889,13 +12949,11 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "drupal/block_field": 5, - "drupal/page_manager": 5, - "drupal/viewsreference": 10, "drupal/advanced_text_formatter": 5, + "drupal/block_field": 5, "drupal/bulkdelete": 20, - "drupal/config_ignore": 5, "drupal/config_devel": 20, + "drupal/config_ignore": 5, "drupal/config_update": 15, "drupal/context": 5, "drupal/date_range_formatter": 20, @@ -12910,17 +12968,20 @@ "drupal/maxlength": 10, "drupal/menu_block": 20, "drupal/menu_position": 20, + "drupal/page_manager": 5, "drupal/path_alias_xt": 20, "drupal/pathologic": 15, "drupal/profile": 5, "drupal/smtp": 10, "drupal/synonyms": 10, "drupal/translation_views": 15, - "drupal/ultimate_cron": 15 + "drupal/ultimate_cron": 15, + "drupal/views_block_area": 10, + "drupal/viewsreference": 10 }, "prefer-stable": true, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 0e9e8be..4202c95 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -118,6 +118,7 @@ module: update: 0 user: 0 video_embed_field: 0 + views_block_area: 0 views_bulk_edit: 0 views_bulk_operations: 0 views_ui: 0 diff --git a/config/sync/views.view.sites.yml b/config/sync/views.view.sites.yml index 25c9223..d05e62d 100644 --- a/config/sync/views.view.sites.yml +++ b/config/sync/views.view.sites.yml @@ -13,6 +13,7 @@ dependencies: - leaflet_views - node - user + - views_block_area id: sites label: Sites module: views @@ -728,17 +729,16 @@ display: defaults: header: false header: - view: - id: view + views_block_area: + id: views_block_area table: views - field: view + field: views_block_area relationship: none group_type: group admin_label: '' - plugin_id: view - empty: true - view_to_insert: 'sites:embed_1' - inherit_arguments: true + plugin_id: views_block_area + block_id: sitesmap_block + empty: false display_extenders: matomo: enabled: false