From 622b085e0ff4066a0fec5d5b8224dba5ff4b1ab8 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 09:41:23 +0100 Subject: [PATCH 01/14] #2837: Updated custom theme to avoid covered buttons --- web/themes/custom/os2forms_selvbetjening_theme/assets/app.scss | 1 + web/themes/custom/os2forms_selvbetjening_theme/build/app.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/os2forms_selvbetjening_theme/assets/app.scss b/web/themes/custom/os2forms_selvbetjening_theme/assets/app.scss index 22dc3027..302a22ab 100644 --- a/web/themes/custom/os2forms_selvbetjening_theme/assets/app.scss +++ b/web/themes/custom/os2forms_selvbetjening_theme/assets/app.scss @@ -1,5 +1,6 @@ .content-header { background-color: transparent; + padding-bottom: var(--space-s); } .logo img { diff --git a/web/themes/custom/os2forms_selvbetjening_theme/build/app.css b/web/themes/custom/os2forms_selvbetjening_theme/build/app.css index 67ce2294..e2a93058 100644 --- a/web/themes/custom/os2forms_selvbetjening_theme/build/app.css +++ b/web/themes/custom/os2forms_selvbetjening_theme/build/app.css @@ -1 +1 @@ -.content-header{background-color:transparent}.logo img{margin-bottom:1em;max-height:60px}.footer{margin-bottom:.75rem;overflow:hidden;padding:1.5rem 0 0}.footer .layout-container{display:block;width:100%}.footer .layout-container>div{box-sizing:border-box;display:block;float:left;padding:0 1em;width:25%}.footer .layout-container>div:first-child{padding-left:0}.footer .layout-container>div:last-child{padding-right:0}@media only screen and (max-width:600px){.footer .layout-container>div{padding:0;width:100%}.footer .layout-container>div:first-child{padding-left:0}.footer .layout-container>div:last-child{padding-right:0}}.footer .logo img{max-height:60px}.footer .menu,.footer .menu li,.footer .nav,.footer .nav li{list-style:none;margin:0;padding:0}.footer .menu li>a,.footer .nav li>a{display:block;padding:10px 15px;position:relative}@media only screen and (max-width:600px){.footer .menu li>a,.footer .nav li>a{padding:0}}.block-lang-dropdown{display:flex;justify-content:flex-end}@media only screen and (max-width:600px){.block-lang-dropdown{justify-content:flex-start}}.block-lang-dropdown .form-item{margin-top:0}@media (max-width:768px){.webform-multiple-table-responsive table td legend>span.visually-hidden{color:#232429;height:auto;position:relative!important;width:auto}}.button--outline--primary{background-color:#fff;color:#003ecc}.button--outline--primary,.button--outline--primary:hover{border-color:#003ecc!important;border-radius:5px;border-width:2px!important;cursor:pointer}.button--outline--primary:hover{background-color:#003ecc;color:#fff} \ No newline at end of file +.content-header{background-color:transparent;padding-bottom:var(--space-s)}.logo img{margin-bottom:1em;max-height:60px}.footer{margin-bottom:.75rem;overflow:hidden;padding:1.5rem 0 0}.footer .layout-container{display:block;width:100%}.footer .layout-container>div{box-sizing:border-box;display:block;float:left;padding:0 1em;width:25%}.footer .layout-container>div:first-child{padding-left:0}.footer .layout-container>div:last-child{padding-right:0}@media only screen and (max-width:600px){.footer .layout-container>div{padding:0;width:100%}.footer .layout-container>div:first-child{padding-left:0}.footer .layout-container>div:last-child{padding-right:0}}.footer .logo img{max-height:60px}.footer .menu,.footer .menu li,.footer .nav,.footer .nav li{list-style:none;margin:0;padding:0}.footer .menu li>a,.footer .nav li>a{display:block;padding:10px 15px;position:relative}@media only screen and (max-width:600px){.footer .menu li>a,.footer .nav li>a{padding:0}}.block-lang-dropdown{display:flex;justify-content:flex-end}@media only screen and (max-width:600px){.block-lang-dropdown{justify-content:flex-start}}.block-lang-dropdown .form-item{margin-top:0}@media (max-width:768px){.webform-multiple-table-responsive table td legend>span.visually-hidden{color:#232429;height:auto;position:relative!important;width:auto}}.button--outline--primary{background-color:#fff;color:#003ecc}.button--outline--primary,.button--outline--primary:hover{border-color:#003ecc!important;border-radius:5px;border-width:2px!important;cursor:pointer}.button--outline--primary:hover{background-color:#003ecc;color:#fff} \ No newline at end of file From bc93c6ae46db37fcf78c66f6f26a995b2b450ed6 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 09:44:36 +0100 Subject: [PATCH 02/14] Update php version in github actions --- .github/workflows/pr.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f454ad54..c606de1a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.3 extensions: ctype, dom, iconv, json, zip, gd, soap coverage: none tools: composer:v2 @@ -52,7 +52,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.3 extensions: ctype, dom, iconv, json, zip, gd, soap coverage: none tools: composer:v2 @@ -99,7 +99,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.3 extensions: ctype, dom, iconv, json, zip, gd, soap coverage: none tools: composer:v2 From 0064154d094844ddcf68e4754af1c2cffa1fb5c8 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 10:36:16 +0100 Subject: [PATCH 03/14] Attempt fix github action --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index c606de1a..2407bb50 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -176,7 +176,7 @@ jobs: docker compose exec --user root phpfpm composer install --no-interaction # Install the site - docker compose exec --user root phpfpm vendor/bin/drush site:install os2forms_forloeb_profile --existing-config --yes + docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes # Download and install external libraries docker compose exec --user root phpfpm vendor/bin/drush webform:libraries:download From b537d4231cbdb10c9c216a04c9af2ef2b4c1416e Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 10:54:12 +0100 Subject: [PATCH 04/14] Fixed profile issue --- config/sync/core.extension.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index b424cd63..caff0fe5 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -161,7 +161,7 @@ module: content_translation: 10 externalauth: 10 views: 10 - os2forms_forloeb_profile: 1000 + minimal: 1000 eu_cookie_compliance: 1001 os2forms_encrypt: 9999 theme: @@ -171,4 +171,4 @@ theme: gin: 0 olivero: 0 os2forms_selvbetjening_theme: 0 -profile: os2forms_forloeb_profile +profile: minimal From df180d8cb64ee43d252274ca8b927676c4ff9f90 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 11:13:46 +0100 Subject: [PATCH 05/14] test --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 2407bb50..901ae0d8 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -176,7 +176,7 @@ jobs: docker compose exec --user root phpfpm composer install --no-interaction # Install the site - docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes + docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes -vvv # Download and install external libraries docker compose exec --user root phpfpm vendor/bin/drush webform:libraries:download From 9fcf86c8f6e9161130b51a073a1ac6d3885690bc Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 12:42:48 +0100 Subject: [PATCH 06/14] Upraded to latest os2forms/os2forms --- CHANGELOG.md | 8 +- composer.lock | 246 ++++++++++---------------------------------------- 2 files changed, 54 insertions(+), 200 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddb9c93c..d652e7de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,11 @@ Nedenfor ses dato for release og beskrivelse af opgaver som er implementeret. * Opdaterede [OS2Forms Fasit](https://github.com/itk-dev/os2forms_fasit) version. * Tilføjede mulighed for at sende notifikation hvis - størrelse på e-mailvedhæftninger overstiger grænse. (https://os2forms-leantime.itkdev.dk/tickets/showKanban#/tickets/showTicket/132) + størrelse på e-mailvedhæftninger overstiger grænse. () * Opdaterede [OS2Forms Organisation](https://github.com/itk-dev/os2forms_organisation) - version. (https://os2forms-leantime.itkdev.dk/tickets/showKanban#/tickets/showTicket/96) -* Tilføjede signatur-element patches. (https://os2forms-leantime.itkdev.dk/tickets/showKanban#/tickets/showTicket/133) -* CKEditor 5 link standard `https` protocol. (https://os2forms-leantime.itkdev.dk/tickets/showKanban#/tickets/showTicket/168) + version. () +* Tilføjede signatur-element patches. () +* CKEditor 5 link standard `https` protocol. () ## [2.8.1] 2024-08-26 diff --git a/composer.lock b/composer.lock index 4b4b2ccb..fa229160 100644 --- a/composer.lock +++ b/composer.lock @@ -6020,122 +6020,6 @@ "issues": "https://drupal.org/project/issues/webform_encrypt" } }, - { - "name": "drupal/webform_migrate", - "version": "2.0.0-alpha1", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/webform_migrate.git", - "reference": "2.0.0-alpha1" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/webform_migrate-2.0.0-alpha1.zip", - "reference": "2.0.0-alpha1", - "shasum": "5800f34891f01814afdbdd6039857c8aad1f7ddd" - }, - "require": { - "drupal/core": "^8.8 || ^9 || ^10", - "drupal/webform": "*", - "drupal/webform_node": "*" - }, - "type": "drupal-module", - "extra": { - "drupal": { - "version": "2.0.0-alpha1", - "datestamp": "1712317890", - "security-coverage": { - "status": "not-covered", - "message": "Alpha releases are not covered by Drupal security advisories." - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0+" - ], - "authors": [ - { - "name": "andriyun", - "homepage": "https://www.drupal.org/user/1277538" - }, - { - "name": "heshanlk", - "homepage": "https://www.drupal.org/user/199102" - }, - { - "name": "jrockowitz", - "homepage": "https://www.drupal.org/user/371407" - }, - { - "name": "Ruslan Piskarov", - "homepage": "https://www.drupal.org/user/424444" - }, - { - "name": "sylus", - "homepage": "https://www.drupal.org/user/339714" - } - ], - "description": "Migration routines from d6 & d7 webform to d8 webform", - "homepage": "https://www.drupal.org/project/webform_migrate", - "keywords": [ - "Drupal" - ], - "support": { - "source": "http://cgit.drupalcode.org/webform_migrate", - "issues": "http://drupal.org/project/issues/webform_migrate" - } - }, - { - "name": "drupal/webform_node", - "version": "6.2.7", - "require": { - "drupal/core": "^10.1", - "drupal/webform": "*" - }, - "type": "metapackage", - "extra": { - "drupal": { - "version": "6.2.7", - "datestamp": "1721425228", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "danchadwick", - "homepage": "https://www.drupal.org/user/504278" - }, - { - "name": "jrockowitz", - "homepage": "https://www.drupal.org/user/371407" - }, - { - "name": "liam morland", - "homepage": "https://www.drupal.org/user/493050" - }, - { - "name": "quicksketch", - "homepage": "https://www.drupal.org/user/35821" - }, - { - "name": "torotil", - "homepage": "https://www.drupal.org/user/865256" - } - ], - "description": "Provides a Webform content type which allows webforms to be integrated into a website as nodes.", - "homepage": "https://www.drupal.org/project/webform", - "support": { - "source": "https://git.drupalcode.org/project/webform" - } - }, { "name": "drupal/webform_node_element", "version": "1.2.0", @@ -9368,16 +9252,16 @@ }, { "name": "os2forms/os2forms", - "version": "3.16.0-beta1", + "version": "3.16.2", "source": { "type": "git", "url": "https://github.com/OS2Forms/os2forms.git", - "reference": "1f4ada55413904930037225e4368dd23f4450ab8" + "reference": "21604bda95cf2c9403ec64b3aa38369de90576c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/OS2Forms/os2forms/zipball/1f4ada55413904930037225e4368dd23f4450ab8", - "reference": "1f4ada55413904930037225e4368dd23f4450ab8", + "url": "https://api.github.com/repos/OS2Forms/os2forms/zipball/21604bda95cf2c9403ec64b3aa38369de90576c2", + "reference": "21604bda95cf2c9403ec64b3aa38369de90576c2", "shasum": "" }, "require": { @@ -9420,7 +9304,6 @@ "drupal/webform": "^6.1", "drupal/webform_composite": "^1.0@RC", "drupal/webform_encrypt": "^2.0@alpha", - "drupal/webform_migrate": "^2.0@alpha", "drupal/webform_node_element": "^1.2", "drupal/webform_remote_handlers": "^3.0", "drupal/webform_remote_select": "^1.0.6", @@ -9434,13 +9317,13 @@ "itk-dev/beskedfordeler-drupal": "^1.0", "itk-dev/serviceplatformen": "^1.5", "mglaman/composer-drupal-lenient": "^1.0", + "os2web/os2web_audit": "^0.1", "os2web/os2web_datalookup": "^1.5", "os2web/os2web_nemlogin": "^1.0", "php": "^8.1", "php-http/guzzle7-adapter": "^1.0", "phpoffice/phpword": "^0.18.2", "symfony/options-resolver": "^5.4 || ^6.0", - "tecnickcom/tcpdf": "~6", "webmozart/path-util": "^2.3", "wsdltophp/packagebase": "^5.0", "zaporylie/composer-drupal-optimizations": "^1.2" @@ -9494,9 +9377,9 @@ "description": "Drupal 8 OS2Form module provides advanced webform functionality for Danish Municipalities", "support": { "issues": "https://github.com/OS2Forms/os2forms/issues", - "source": "https://github.com/OS2Forms/os2forms/tree/3.16.0-beta1" + "source": "https://github.com/OS2Forms/os2forms/tree/3.16.2" }, - "time": "2024-09-02T06:55:40+00:00" + "time": "2024-10-31T11:39:03+00:00" }, { "name": "os2forms/os2forms_fasit", @@ -9856,6 +9739,49 @@ }, "time": "2024-09-13T14:04:18+00:00" }, + { + "name": "os2web/os2web_audit", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/OS2web/os2web_audit.git", + "reference": "fc4081a2d70c717eb178e7f99a1aebe933a8d8a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/OS2web/os2web_audit/zipball/fc4081a2d70c717eb178e7f99a1aebe933a8d8a0", + "reference": "fc4081a2d70c717eb178e7f99a1aebe933a8d8a0", + "shasum": "" + }, + "require": { + "drush/drush": "^11.5|^12.5", + "ext-curl": "*", + "php": "^8.1" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", + "drupal/coder": "^8.3", + "mglaman/phpstan-drupal": "^1.1", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpunit/phpunit": "^9.5" + }, + "type": "drupal-module", + "extra": { + "composer-exit-on-patch-failure": false, + "enable-patching": true, + "patches": [] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "EUPL-1.2" + ], + "description": "Drupal OS2 module that provides audit logging for Danish Municipalities", + "support": { + "source": "https://github.com/OS2web/os2web_audit/tree/0.1.0" + }, + "time": "2024-10-21T10:24:46+00:00" + }, { "name": "os2web/os2web_datalookup", "version": "1.11.5", @@ -16656,78 +16582,6 @@ ], "time": "2024-08-12T09:55:28+00:00" }, - { - "name": "tecnickcom/tcpdf", - "version": "6.7.5", - "source": { - "type": "git", - "url": "https://github.com/tecnickcom/TCPDF.git", - "reference": "951eabf0338ec2522bd0d5d9c79b08a3a3d36b36" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/951eabf0338ec2522bd0d5d9c79b08a3a3d36b36", - "reference": "951eabf0338ec2522bd0d5d9c79b08a3a3d36b36", - "shasum": "" - }, - "require": { - "php": ">=5.5.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - } - ], - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "homepage": "http://www.tcpdf.org/", - "keywords": [ - "PDFD32000-2008", - "TCPDF", - "barcodes", - "datamatrix", - "pdf", - "pdf417", - "qrcode" - ], - "support": { - "issues": "https://github.com/tecnickcom/TCPDF/issues", - "source": "https://github.com/tecnickcom/TCPDF/tree/6.7.5" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", - "type": "custom" - } - ], - "time": "2024-04-20T17:25:10+00:00" - }, { "name": "tijsverkoyen/css-to-inline-styles", "version": "v2.2.7", From 29a2340fd37b7812cefaee270629981e2fa3c86e Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 13:05:24 +0100 Subject: [PATCH 07/14] Config cleanup --- .../block.block.bootstrap_account_menu.yml | 27 ------------------- .../sync/block.block.bootstrap_branding.yml | 25 ----------------- .../block.block.bootstrap_breadcrumbs.yml | 22 --------------- config/sync/block.block.bootstrap_content.yml | 22 --------------- config/sync/block.block.bootstrap_footer.yml | 27 ------------------- config/sync/block.block.bootstrap_help.yml | 22 --------------- .../block.block.bootstrap_local_actions.yml | 20 -------------- .../block.block.bootstrap_local_tasks.yml | 22 --------------- .../sync/block.block.bootstrap_main_menu.yml | 27 ------------------- .../sync/block.block.bootstrap_messages.yml | 22 --------------- .../sync/block.block.bootstrap_page_title.yml | 20 -------------- config/sync/block.block.bootstrap_powered.yml | 22 --------------- config/sync/block.block.bootstrap_search.yml | 23 ---------------- config/sync/block.block.bootstrap_tools.yml | 27 ------------------- .../block.block.custom_theme_branding.yml | 25 ----------------- .../block.block.custom_theme_breadcrumbs.yml | 22 --------------- .../sync/block.block.custom_theme_content.yml | 22 --------------- .../sync/block.block.custom_theme_footer.yml | 27 ------------------- ...block.block.custom_theme_local_actions.yml | 20 -------------- .../block.block.custom_theme_local_tasks.yml | 22 --------------- .../block.block.custom_theme_main_menu.yml | 27 ------------------- .../block.block.custom_theme_messages.yml | 22 --------------- .../block.block.custom_theme_page_title.yml | 20 -------------- config/sync/block.block.sidefod.yml | 25 ----------------- config/sync/bootstrap.settings.yml | 19 ------------- config/sync/core.extension.yml | 2 -- config/sync/custom_theme.settings.yml | 27 ------------------- .../da/block.block.bootstrap_account_menu.yml | 2 -- .../da/block.block.bootstrap_branding.yml | 2 -- .../da/block.block.bootstrap_breadcrumbs.yml | 2 -- .../da/block.block.bootstrap_content.yml | 2 -- .../da/block.block.bootstrap_footer.yml | 2 -- .../da/block.block.bootstrap_help.yml | 2 -- .../block.block.bootstrap_local_actions.yml | 2 -- .../da/block.block.bootstrap_local_tasks.yml | 2 -- .../da/block.block.bootstrap_main_menu.yml | 2 -- .../da/block.block.bootstrap_messages.yml | 2 -- .../da/block.block.bootstrap_page_title.yml | 2 -- .../da/block.block.bootstrap_powered.yml | 2 -- .../da/block.block.bootstrap_search.yml | 2 -- .../da/block.block.bootstrap_tools.yml | 2 -- .../da/block.block.custom_theme_branding.yml | 2 -- .../block.block.custom_theme_breadcrumbs.yml | 2 -- .../da/block.block.custom_theme_content.yml | 2 -- .../da/block.block.custom_theme_footer.yml | 2 -- ...block.block.custom_theme_local_actions.yml | 2 -- .../block.block.custom_theme_local_tasks.yml | 2 -- .../da/block.block.custom_theme_main_menu.yml | 2 -- .../da/block.block.custom_theme_messages.yml | 2 -- .../block.block.custom_theme_page_title.yml | 2 -- .../en/block.block.bootstrap_account_menu.yml | 2 -- .../en/block.block.bootstrap_branding.yml | 2 -- .../en/block.block.bootstrap_breadcrumbs.yml | 2 -- .../en/block.block.bootstrap_content.yml | 2 -- .../en/block.block.bootstrap_footer.yml | 2 -- .../en/block.block.bootstrap_help.yml | 2 -- .../block.block.bootstrap_local_actions.yml | 2 -- .../en/block.block.bootstrap_local_tasks.yml | 2 -- .../en/block.block.bootstrap_main_menu.yml | 2 -- .../en/block.block.bootstrap_messages.yml | 2 -- .../en/block.block.bootstrap_page_title.yml | 2 -- .../en/block.block.bootstrap_powered.yml | 2 -- .../en/block.block.bootstrap_search.yml | 2 -- .../en/block.block.bootstrap_tools.yml | 2 -- .../en/block.block.custom_theme_branding.yml | 2 -- .../block.block.custom_theme_breadcrumbs.yml | 2 -- .../en/block.block.custom_theme_content.yml | 2 -- .../en/block.block.custom_theme_footer.yml | 2 -- ...block.block.custom_theme_local_actions.yml | 2 -- .../block.block.custom_theme_local_tasks.yml | 2 -- .../en/block.block.custom_theme_main_menu.yml | 2 -- .../en/block.block.custom_theme_messages.yml | 2 -- .../block.block.custom_theme_page_title.yml | 2 -- ...alookup.serviceplatformen_cpr_extended.yml | 1 + 74 files changed, 1 insertion(+), 700 deletions(-) delete mode 100644 config/sync/block.block.bootstrap_account_menu.yml delete mode 100644 config/sync/block.block.bootstrap_branding.yml delete mode 100644 config/sync/block.block.bootstrap_breadcrumbs.yml delete mode 100644 config/sync/block.block.bootstrap_content.yml delete mode 100644 config/sync/block.block.bootstrap_footer.yml delete mode 100644 config/sync/block.block.bootstrap_help.yml delete mode 100644 config/sync/block.block.bootstrap_local_actions.yml delete mode 100644 config/sync/block.block.bootstrap_local_tasks.yml delete mode 100644 config/sync/block.block.bootstrap_main_menu.yml delete mode 100644 config/sync/block.block.bootstrap_messages.yml delete mode 100644 config/sync/block.block.bootstrap_page_title.yml delete mode 100644 config/sync/block.block.bootstrap_powered.yml delete mode 100644 config/sync/block.block.bootstrap_search.yml delete mode 100644 config/sync/block.block.bootstrap_tools.yml delete mode 100644 config/sync/block.block.custom_theme_branding.yml delete mode 100644 config/sync/block.block.custom_theme_breadcrumbs.yml delete mode 100644 config/sync/block.block.custom_theme_content.yml delete mode 100644 config/sync/block.block.custom_theme_footer.yml delete mode 100644 config/sync/block.block.custom_theme_local_actions.yml delete mode 100644 config/sync/block.block.custom_theme_local_tasks.yml delete mode 100644 config/sync/block.block.custom_theme_main_menu.yml delete mode 100644 config/sync/block.block.custom_theme_messages.yml delete mode 100644 config/sync/block.block.custom_theme_page_title.yml delete mode 100644 config/sync/block.block.sidefod.yml delete mode 100644 config/sync/bootstrap.settings.yml delete mode 100644 config/sync/custom_theme.settings.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_account_menu.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_branding.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_breadcrumbs.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_content.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_footer.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_help.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_local_actions.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_local_tasks.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_main_menu.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_messages.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_page_title.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_powered.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_search.yml delete mode 100644 config/sync/language/da/block.block.bootstrap_tools.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_branding.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_breadcrumbs.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_content.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_footer.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_local_actions.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_local_tasks.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_main_menu.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_messages.yml delete mode 100644 config/sync/language/da/block.block.custom_theme_page_title.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_account_menu.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_branding.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_breadcrumbs.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_content.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_footer.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_help.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_local_actions.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_local_tasks.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_main_menu.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_messages.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_page_title.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_powered.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_search.yml delete mode 100644 config/sync/language/en/block.block.bootstrap_tools.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_branding.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_breadcrumbs.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_content.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_footer.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_local_actions.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_local_tasks.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_main_menu.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_messages.yml delete mode 100644 config/sync/language/en/block.block.custom_theme_page_title.yml diff --git a/config/sync/block.block.bootstrap_account_menu.yml b/config/sync/block.block.bootstrap_account_menu.yml deleted file mode 100644 index 0ae359a7..00000000 --- a/config/sync/block.block.bootstrap_account_menu.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: e6e40cbc-149c-46cb-9c77-9adaa02ddc8e -langcode: da -status: true -dependencies: - config: - - system.menu.account - module: - - system - theme: - - bootstrap -_core: - default_config_hash: HrZTblWpMF4fo6BdbBcyHEu5Hp9ds1IZF3FiRd2Q8rU -id: bootstrap_account_menu -theme: bootstrap -region: navigation_collapsible -weight: 11 -provider: null -plugin: 'system_menu_block:account' -settings: - id: 'system_menu_block:account' - label: 'User account menu' - label_display: '0' - provider: system - level: 1 - depth: 2 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.bootstrap_branding.yml b/config/sync/block.block.bootstrap_branding.yml deleted file mode 100644 index 7f272c0f..00000000 --- a/config/sync/block.block.bootstrap_branding.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 1eb2491c-169c-4d3e-84b7-d4c8dc3ce68f -langcode: da -status: true -dependencies: - module: - - system - theme: - - bootstrap -_core: - default_config_hash: Cy3vkpYrD1O5JG-BeEnokF0bByHYDEa8CBfWivB4_SQ -id: bootstrap_branding -theme: bootstrap -region: navigation -weight: 0 -provider: null -plugin: system_branding_block -settings: - id: system_branding_block - label: 'Site branding' - label_display: '0' - provider: system - use_site_logo: true - use_site_name: true - use_site_slogan: false -visibility: { } diff --git a/config/sync/block.block.bootstrap_breadcrumbs.yml b/config/sync/block.block.bootstrap_breadcrumbs.yml deleted file mode 100644 index 32c17e3c..00000000 --- a/config/sync/block.block.bootstrap_breadcrumbs.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 2ceb1fc7-d2d0-49c2-9406-b0b47dcbdb8a -langcode: da -status: true -dependencies: - module: - - system - theme: - - bootstrap -_core: - default_config_hash: wDR9JKEATSWldBjw8du8s3G2zjEYeQf88nlld11hMLo -id: bootstrap_breadcrumbs -theme: bootstrap -region: header -weight: -100 -provider: null -plugin: system_breadcrumb_block -settings: - id: system_breadcrumb_block - label: Brødkrummer - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.bootstrap_content.yml b/config/sync/block.block.bootstrap_content.yml deleted file mode 100644 index 55dc9f50..00000000 --- a/config/sync/block.block.bootstrap_content.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 1351c77f-847a-481f-8a52-065263e3c063 -langcode: da -status: true -dependencies: - module: - - system - theme: - - bootstrap -_core: - default_config_hash: fNNLN48MSGSLiqwIFywCuxH2Dk_IxDbaP0kYhg_IPrg -id: bootstrap_content -theme: bootstrap -region: content -weight: 0 -provider: null -plugin: system_main_block -settings: - id: system_main_block - label: 'Main page content' - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.bootstrap_footer.yml b/config/sync/block.block.bootstrap_footer.yml deleted file mode 100644 index 3d4f67b8..00000000 --- a/config/sync/block.block.bootstrap_footer.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: d6d1f7db-4753-4a71-b47c-9bc3bb7e7c65 -langcode: da -status: true -dependencies: - config: - - system.menu.footer - module: - - system - theme: - - bootstrap -_core: - default_config_hash: 4VDn3bLy009pYlPUWQBHaaGVJu8FPnxNfr2DYrAnNHI -id: bootstrap_footer -theme: bootstrap -region: footer -weight: 0 -provider: null -plugin: 'system_menu_block:footer' -settings: - id: 'system_menu_block:footer' - label: Footer-menu - label_display: '0' - provider: system - level: 1 - depth: 0 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.bootstrap_help.yml b/config/sync/block.block.bootstrap_help.yml deleted file mode 100644 index 100be92f..00000000 --- a/config/sync/block.block.bootstrap_help.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: feb777bc-12f3-41da-9402-5f5364c86e5a -langcode: da -status: true -dependencies: - module: - - help - theme: - - bootstrap -_core: - default_config_hash: MhtNdV__HKRTab0ZPjkPNfYL4Ng4UPBucDLoC7Rg5Eo -id: bootstrap_help -theme: bootstrap -region: help -weight: -30 -provider: null -plugin: help_block -settings: - id: help_block - label: Hjælp - label_display: '0' - provider: help -visibility: { } diff --git a/config/sync/block.block.bootstrap_local_actions.yml b/config/sync/block.block.bootstrap_local_actions.yml deleted file mode 100644 index 85365597..00000000 --- a/config/sync/block.block.bootstrap_local_actions.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: eb837800-181b-4e4d-b20f-361099eb3929 -langcode: da -status: true -dependencies: - theme: - - bootstrap -_core: - default_config_hash: ffxthelqQF8xcr4GTG4HlaNNsluiHftN0pujmQpW0bQ -id: bootstrap_local_actions -theme: bootstrap -region: header -weight: 20 -provider: null -plugin: local_actions_block -settings: - id: local_actions_block - label: 'Primary admin actions' - label_display: '0' - provider: core -visibility: { } diff --git a/config/sync/block.block.bootstrap_local_tasks.yml b/config/sync/block.block.bootstrap_local_tasks.yml deleted file mode 100644 index bbd0fdb2..00000000 --- a/config/sync/block.block.bootstrap_local_tasks.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: f1a6541b-7356-4d91-803c-fb788bac4b72 -langcode: da -status: true -dependencies: - theme: - - bootstrap -_core: - default_config_hash: qHdtze2DZ2mFfaJadxjZz6epm92_SN9SAFY4yJGl8Fo -id: bootstrap_local_tasks -theme: bootstrap -region: header -weight: 10 -provider: null -plugin: local_tasks_block -settings: - id: local_tasks_block - label: Faner - label_display: '0' - provider: core - primary: true - secondary: true -visibility: { } diff --git a/config/sync/block.block.bootstrap_main_menu.yml b/config/sync/block.block.bootstrap_main_menu.yml deleted file mode 100644 index 5d960955..00000000 --- a/config/sync/block.block.bootstrap_main_menu.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: 8557ca4a-8bd7-4998-b765-90397d642411 -langcode: da -status: true -dependencies: - config: - - system.menu.main - module: - - system - theme: - - bootstrap -_core: - default_config_hash: ERtUwuUKdqiRLiXjBoV7gcIIZgt2IdqWBzqsqtm63w4 -id: bootstrap_main_menu -theme: bootstrap -region: navigation_collapsible -weight: 10 -provider: null -plugin: 'system_menu_block:main' -settings: - id: 'system_menu_block:main' - label: 'Primær navigation' - label_display: '0' - provider: system - level: 1 - depth: 2 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.bootstrap_messages.yml b/config/sync/block.block.bootstrap_messages.yml deleted file mode 100644 index d097ed96..00000000 --- a/config/sync/block.block.bootstrap_messages.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 0cfa5c68-b30b-4b81-8bcf-ccdf17127fe4 -langcode: da -status: true -dependencies: - module: - - system - theme: - - bootstrap -_core: - default_config_hash: 9RnnTUBcn0WRWXfrGOnId2H0Q31uQUeu_F5TnDxl2yg -id: bootstrap_messages -theme: bootstrap -region: header -weight: -50 -provider: null -plugin: system_messages_block -settings: - id: system_messages_block - label: Statusmeddelelser - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.bootstrap_page_title.yml b/config/sync/block.block.bootstrap_page_title.yml deleted file mode 100644 index 8ce99f06..00000000 --- a/config/sync/block.block.bootstrap_page_title.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: a9ea6865-faa0-4d6f-8310-64feb45e6e2b -langcode: da -status: true -dependencies: - theme: - - bootstrap -_core: - default_config_hash: 1TQP4b3ZnlzvIH9bj6cpCz_SyUHdJjLQkZnHpikjjhw -id: bootstrap_page_title -theme: bootstrap -region: header -weight: 0 -provider: null -plugin: page_title_block -settings: - id: page_title_block - label: Sidetitel - label_display: '0' - provider: core -visibility: { } diff --git a/config/sync/block.block.bootstrap_powered.yml b/config/sync/block.block.bootstrap_powered.yml deleted file mode 100644 index 6d58edfa..00000000 --- a/config/sync/block.block.bootstrap_powered.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 870c539c-1bee-48f5-a610-f602edd1ee54 -langcode: da -status: true -dependencies: - module: - - system - theme: - - bootstrap -_core: - default_config_hash: iggZSiUKz4mYP1YPJ8SsUfFu79HIgOTt6IDy3Up59aM -id: bootstrap_powered -theme: bootstrap -region: footer -weight: -10 -provider: null -plugin: system_powered_by_block -settings: - id: system_powered_by_block - label: 'Powered by Drupal' - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.bootstrap_search.yml b/config/sync/block.block.bootstrap_search.yml deleted file mode 100644 index fdd2ac27..00000000 --- a/config/sync/block.block.bootstrap_search.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: 8b7ae42c-eb05-4a75-9f1e-493e05488e53 -langcode: da -status: true -dependencies: - module: - - search - theme: - - bootstrap -_core: - default_config_hash: F3d5hyAFunLh4PhGviJF019fHn1Z3_zy5gzsQ0tX1K0 -id: bootstrap_search -theme: bootstrap -region: sidebar_second -weight: -1 -provider: null -plugin: search_form_block -settings: - id: search_form_block - label: Search - label_display: visible - provider: search - page_id: '' -visibility: { } diff --git a/config/sync/block.block.bootstrap_tools.yml b/config/sync/block.block.bootstrap_tools.yml deleted file mode 100644 index 2d9c78a7..00000000 --- a/config/sync/block.block.bootstrap_tools.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: ebec2489-d933-4134-8ef7-4ff5c8608ae0 -langcode: da -status: true -dependencies: - config: - - system.menu.tools - module: - - system - theme: - - bootstrap -_core: - default_config_hash: SrPItPkAevw9hGX_v5AfsVyw6vkoog7ZVLSJYqwsBHc -id: bootstrap_tools -theme: bootstrap -region: sidebar_second -weight: 0 -provider: null -plugin: 'system_menu_block:tools' -settings: - id: 'system_menu_block:tools' - label: Værktøjer - label_display: visible - provider: system - level: 1 - depth: 0 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.custom_theme_branding.yml b/config/sync/block.block.custom_theme_branding.yml deleted file mode 100644 index 29746a05..00000000 --- a/config/sync/block.block.custom_theme_branding.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: d680d495-ffd8-486f-a27d-37ccc21f7f26 -langcode: da -status: true -dependencies: - module: - - system - theme: - - custom_theme -_core: - default_config_hash: '--CPzYs6EgarPsbMikCWIVMttQlP9CEYBtgSDox8lfw' -id: custom_theme_branding -theme: custom_theme -region: navigation -weight: -6 -provider: null -plugin: system_branding_block -settings: - id: system_branding_block - label: 'Site branding' - label_display: '0' - provider: system - use_site_logo: true - use_site_name: true - use_site_slogan: true -visibility: { } diff --git a/config/sync/block.block.custom_theme_breadcrumbs.yml b/config/sync/block.block.custom_theme_breadcrumbs.yml deleted file mode 100644 index cd8133df..00000000 --- a/config/sync/block.block.custom_theme_breadcrumbs.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 24a76bf9-43ec-4cb1-8909-066036e311b4 -langcode: da -status: true -dependencies: - module: - - system - theme: - - custom_theme -_core: - default_config_hash: JvZl1lI7STjp-qxe-l8i-RyG0M7LFLErlXz2MRMqEPA -id: custom_theme_breadcrumbs -theme: custom_theme -region: header -weight: -2 -provider: null -plugin: system_breadcrumb_block -settings: - id: system_breadcrumb_block - label: Brødkrummer - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.custom_theme_content.yml b/config/sync/block.block.custom_theme_content.yml deleted file mode 100644 index 3391d56f..00000000 --- a/config/sync/block.block.custom_theme_content.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 0e629357-c5da-4e2c-aba2-5c60381a3148 -langcode: da -status: true -dependencies: - module: - - system - theme: - - custom_theme -_core: - default_config_hash: r_jmST41usxlwuDTUOKSfV_ZjJWQR0eKUEiBfi81uMU -id: custom_theme_content -theme: custom_theme -region: content -weight: 0 -provider: null -plugin: system_main_block -settings: - id: system_main_block - label: 'Main page content' - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.custom_theme_footer.yml b/config/sync/block.block.custom_theme_footer.yml deleted file mode 100644 index 5a05d2a6..00000000 --- a/config/sync/block.block.custom_theme_footer.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: 0622687b-08ff-4771-9188-8cf472ec11d8 -langcode: da -status: false -dependencies: - config: - - system.menu.footer - module: - - system - theme: - - custom_theme -_core: - default_config_hash: K2c_13XPN6VIcKRNFzuVwC9QSFErMehdlvdLxr3EWKs -id: custom_theme_footer -theme: custom_theme -region: navigation -weight: -5 -provider: null -plugin: 'system_menu_block:footer' -settings: - id: 'system_menu_block:footer' - label: Footer-menu - label_display: '0' - provider: system - level: 1 - depth: 0 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.custom_theme_local_actions.yml b/config/sync/block.block.custom_theme_local_actions.yml deleted file mode 100644 index 3089e34c..00000000 --- a/config/sync/block.block.custom_theme_local_actions.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: d50d99bf-9f2a-4eaf-9648-c85252d07171 -langcode: da -status: false -dependencies: - theme: - - custom_theme -_core: - default_config_hash: N0ZhbrinnW2-UeZ7hTdMyiJhRrxiM1qfKFuruac4FNQ -id: custom_theme_local_actions -theme: custom_theme -region: header -weight: 1 -provider: null -plugin: local_actions_block -settings: - id: local_actions_block - label: 'Primære administratorhandlinger' - label_display: '0' - provider: core -visibility: { } diff --git a/config/sync/block.block.custom_theme_local_tasks.yml b/config/sync/block.block.custom_theme_local_tasks.yml deleted file mode 100644 index 18abda26..00000000 --- a/config/sync/block.block.custom_theme_local_tasks.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 95d75f5b-4127-4f13-a97d-f0c0389f90ff -langcode: da -status: true -dependencies: - theme: - - custom_theme -_core: - default_config_hash: H774w55DTt-uwfh5W1jQMDe6nH03eQkA9tQX7EupCIc -id: custom_theme_local_tasks -theme: custom_theme -region: header -weight: -3 -provider: null -plugin: local_tasks_block -settings: - id: local_tasks_block - label: Faner - label_display: '0' - provider: core - primary: true - secondary: true -visibility: { } diff --git a/config/sync/block.block.custom_theme_main_menu.yml b/config/sync/block.block.custom_theme_main_menu.yml deleted file mode 100644 index ee95da0c..00000000 --- a/config/sync/block.block.custom_theme_main_menu.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: 95696744-4b25-4d50-850e-9977287580e6 -langcode: da -status: false -dependencies: - config: - - system.menu.main - module: - - system - theme: - - custom_theme -_core: - default_config_hash: QKFVqrzcupcNulG3sseNCZnaTGT_7n5B3aIvV8E6-BI -id: custom_theme_main_menu -theme: custom_theme -region: navigation_collapsible -weight: -4 -provider: null -plugin: 'system_menu_block:main' -settings: - id: 'system_menu_block:main' - label: 'Primær navigation' - label_display: '0' - provider: system - level: 1 - depth: 1 - expand_all_items: false -visibility: { } diff --git a/config/sync/block.block.custom_theme_messages.yml b/config/sync/block.block.custom_theme_messages.yml deleted file mode 100644 index 518cdfeb..00000000 --- a/config/sync/block.block.custom_theme_messages.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: a523fc0c-e7aa-4bf5-8d1e-14ebad584887 -langcode: da -status: true -dependencies: - module: - - system - theme: - - custom_theme -_core: - default_config_hash: 1xJdzMItnANFHoeca4Aj6vVjjtVbxc1Dit7AK1qySJM -id: custom_theme_messages -theme: custom_theme -region: header -weight: -1 -provider: null -plugin: system_messages_block -settings: - id: system_messages_block - label: Statusmeddelelser - label_display: '0' - provider: system -visibility: { } diff --git a/config/sync/block.block.custom_theme_page_title.yml b/config/sync/block.block.custom_theme_page_title.yml deleted file mode 100644 index 98c9fc5c..00000000 --- a/config/sync/block.block.custom_theme_page_title.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: 9ef9abf3-d274-42f1-93b2-da37075deb5a -langcode: da -status: true -dependencies: - theme: - - custom_theme -_core: - default_config_hash: Ot_l6qHt4_032RmWndJWqbu41L73IasMuIwrJX1UHUY -id: custom_theme_page_title -theme: custom_theme -region: header -weight: -4 -provider: null -plugin: page_title_block -settings: - id: page_title_block - label: Sidetitel - label_display: '0' - provider: core -visibility: { } diff --git a/config/sync/block.block.sidefod.yml b/config/sync/block.block.sidefod.yml deleted file mode 100644 index f17e888f..00000000 --- a/config/sync/block.block.sidefod.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 43aaf7f4-4f67-4afd-91df-1f7bff342346 -langcode: da -status: true -dependencies: - config: - - system.menu.footer - module: - - system - theme: - - custom_theme -id: sidefod -theme: custom_theme -region: footer_third -weight: 0 -provider: null -plugin: 'system_menu_block:footer' -settings: - id: 'system_menu_block:footer' - label: Sidefod - label_display: '0' - provider: system - level: 1 - depth: 0 - expand_all_items: false -visibility: { } diff --git a/config/sync/bootstrap.settings.yml b/config/sync/bootstrap.settings.yml deleted file mode 100644 index 8eca9f5a..00000000 --- a/config/sync/bootstrap.settings.yml +++ /dev/null @@ -1,19 +0,0 @@ -_core: - default_config_hash: 1uFogeFphl0Hg6oVCacZZ8mM_0wMZ7PS_RrmLbK5tf0 -langcode: da -favicon: - mimetype: image/vnd.microsoft.icon - path: '' - url: '' - use_default: true -features: - comment_user_picture: true - comment_user_verification: true - favicon: true - node_user_picture: true -logo: - path: '' - url: '' - use_default: true -schemas: - bootstrap: 8000 diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index caff0fe5..71d11873 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -19,7 +19,6 @@ module: comment: 0 config: 0 config_entity_revisions: 0 - config_filter: 0 config_ignore: 0 config_translation: 0 contact: 0 @@ -140,7 +139,6 @@ module: webform_encrypt: 0 webform_entity_print: 0 webform_entity_print_attachment: 0 - webform_migrate: 0 webform_node: 0 webform_node_element: 0 webform_remote_handlers: 0 diff --git a/config/sync/custom_theme.settings.yml b/config/sync/custom_theme.settings.yml deleted file mode 100644 index 992f72f5..00000000 --- a/config/sync/custom_theme.settings.yml +++ /dev/null @@ -1,27 +0,0 @@ -logo: - path: 'public://aak_02_venstre_70_2.png' - url: '' - use_default: 0 -_core: - default_config_hash: 9WVQ0q6j-_XKz2GuFBIVt-96VPm0vP6s5v0kyLYU0p0 -favicon: - mimetype: image/vnd.microsoft.icon - path: '' - url: 'https://selvbetjening.aarhuskommune.dk/themes/custom/custom_theme/favicon.ico' - use_default: 0 -schemas: - bootstrap: 8000 - custom_theme: 8000 -features: - comment_user_picture: true - comment_user_verification: 1 - favicon: 1 - node_user_picture: true -table_responsive: '-1' -cdn_theme: bootstrap -cdn_cache_ttl_versions: '604800' -cdn_cache_ttl_themes: '604800' -cdn_cache_ttl_assets: '0' -cdn_cache_ttl_library: '0' -reset_http_request_cache: '' -table: '' diff --git a/config/sync/language/da/block.block.bootstrap_account_menu.yml b/config/sync/language/da/block.block.bootstrap_account_menu.yml deleted file mode 100644 index e40ad1d6..00000000 --- a/config/sync/language/da/block.block.bootstrap_account_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Brugerkontomenu diff --git a/config/sync/language/da/block.block.bootstrap_branding.yml b/config/sync/language/da/block.block.bootstrap_branding.yml deleted file mode 100644 index 3dcfcee4..00000000 --- a/config/sync/language/da/block.block.bootstrap_branding.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Site branding' diff --git a/config/sync/language/da/block.block.bootstrap_breadcrumbs.yml b/config/sync/language/da/block.block.bootstrap_breadcrumbs.yml deleted file mode 100644 index 1241b5ee..00000000 --- a/config/sync/language/da/block.block.bootstrap_breadcrumbs.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Brødkrummer diff --git a/config/sync/language/da/block.block.bootstrap_content.yml b/config/sync/language/da/block.block.bootstrap_content.yml deleted file mode 100644 index 4c5fd576..00000000 --- a/config/sync/language/da/block.block.bootstrap_content.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primært sideindhold' diff --git a/config/sync/language/da/block.block.bootstrap_footer.yml b/config/sync/language/da/block.block.bootstrap_footer.yml deleted file mode 100644 index d0cc7558..00000000 --- a/config/sync/language/da/block.block.bootstrap_footer.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Footer-menu diff --git a/config/sync/language/da/block.block.bootstrap_help.yml b/config/sync/language/da/block.block.bootstrap_help.yml deleted file mode 100644 index af3c498a..00000000 --- a/config/sync/language/da/block.block.bootstrap_help.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Hjælp diff --git a/config/sync/language/da/block.block.bootstrap_local_actions.yml b/config/sync/language/da/block.block.bootstrap_local_actions.yml deleted file mode 100644 index 66ecdb15..00000000 --- a/config/sync/language/da/block.block.bootstrap_local_actions.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primære administratorhandlinger' diff --git a/config/sync/language/da/block.block.bootstrap_local_tasks.yml b/config/sync/language/da/block.block.bootstrap_local_tasks.yml deleted file mode 100644 index 72e492c7..00000000 --- a/config/sync/language/da/block.block.bootstrap_local_tasks.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Faner diff --git a/config/sync/language/da/block.block.bootstrap_main_menu.yml b/config/sync/language/da/block.block.bootstrap_main_menu.yml deleted file mode 100644 index 8d81a9cf..00000000 --- a/config/sync/language/da/block.block.bootstrap_main_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primær navigation' diff --git a/config/sync/language/da/block.block.bootstrap_messages.yml b/config/sync/language/da/block.block.bootstrap_messages.yml deleted file mode 100644 index 58aedfc7..00000000 --- a/config/sync/language/da/block.block.bootstrap_messages.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Statusmeddelelser diff --git a/config/sync/language/da/block.block.bootstrap_page_title.yml b/config/sync/language/da/block.block.bootstrap_page_title.yml deleted file mode 100644 index 3dc208e6..00000000 --- a/config/sync/language/da/block.block.bootstrap_page_title.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Sidetitel diff --git a/config/sync/language/da/block.block.bootstrap_powered.yml b/config/sync/language/da/block.block.bootstrap_powered.yml deleted file mode 100644 index 2e57456a..00000000 --- a/config/sync/language/da/block.block.bootstrap_powered.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Drives af Drupal' diff --git a/config/sync/language/da/block.block.bootstrap_search.yml b/config/sync/language/da/block.block.bootstrap_search.yml deleted file mode 100644 index a719ea07..00000000 --- a/config/sync/language/da/block.block.bootstrap_search.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Søg diff --git a/config/sync/language/da/block.block.bootstrap_tools.yml b/config/sync/language/da/block.block.bootstrap_tools.yml deleted file mode 100644 index 7fe34704..00000000 --- a/config/sync/language/da/block.block.bootstrap_tools.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Værktøjer diff --git a/config/sync/language/da/block.block.custom_theme_branding.yml b/config/sync/language/da/block.block.custom_theme_branding.yml deleted file mode 100644 index 3dcfcee4..00000000 --- a/config/sync/language/da/block.block.custom_theme_branding.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Site branding' diff --git a/config/sync/language/da/block.block.custom_theme_breadcrumbs.yml b/config/sync/language/da/block.block.custom_theme_breadcrumbs.yml deleted file mode 100644 index 1241b5ee..00000000 --- a/config/sync/language/da/block.block.custom_theme_breadcrumbs.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Brødkrummer diff --git a/config/sync/language/da/block.block.custom_theme_content.yml b/config/sync/language/da/block.block.custom_theme_content.yml deleted file mode 100644 index 4c5fd576..00000000 --- a/config/sync/language/da/block.block.custom_theme_content.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primært sideindhold' diff --git a/config/sync/language/da/block.block.custom_theme_footer.yml b/config/sync/language/da/block.block.custom_theme_footer.yml deleted file mode 100644 index d0cc7558..00000000 --- a/config/sync/language/da/block.block.custom_theme_footer.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Footer-menu diff --git a/config/sync/language/da/block.block.custom_theme_local_actions.yml b/config/sync/language/da/block.block.custom_theme_local_actions.yml deleted file mode 100644 index 66ecdb15..00000000 --- a/config/sync/language/da/block.block.custom_theme_local_actions.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primære administratorhandlinger' diff --git a/config/sync/language/da/block.block.custom_theme_local_tasks.yml b/config/sync/language/da/block.block.custom_theme_local_tasks.yml deleted file mode 100644 index 72e492c7..00000000 --- a/config/sync/language/da/block.block.custom_theme_local_tasks.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Faner diff --git a/config/sync/language/da/block.block.custom_theme_main_menu.yml b/config/sync/language/da/block.block.custom_theme_main_menu.yml deleted file mode 100644 index 8d81a9cf..00000000 --- a/config/sync/language/da/block.block.custom_theme_main_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primær navigation' diff --git a/config/sync/language/da/block.block.custom_theme_messages.yml b/config/sync/language/da/block.block.custom_theme_messages.yml deleted file mode 100644 index 58aedfc7..00000000 --- a/config/sync/language/da/block.block.custom_theme_messages.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Statusmeddelelser diff --git a/config/sync/language/da/block.block.custom_theme_page_title.yml b/config/sync/language/da/block.block.custom_theme_page_title.yml deleted file mode 100644 index 3dc208e6..00000000 --- a/config/sync/language/da/block.block.custom_theme_page_title.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Sidetitel diff --git a/config/sync/language/en/block.block.bootstrap_account_menu.yml b/config/sync/language/en/block.block.bootstrap_account_menu.yml deleted file mode 100644 index d1ef4cc8..00000000 --- a/config/sync/language/en/block.block.bootstrap_account_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'User account menu' diff --git a/config/sync/language/en/block.block.bootstrap_branding.yml b/config/sync/language/en/block.block.bootstrap_branding.yml deleted file mode 100644 index 3dcfcee4..00000000 --- a/config/sync/language/en/block.block.bootstrap_branding.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Site branding' diff --git a/config/sync/language/en/block.block.bootstrap_breadcrumbs.yml b/config/sync/language/en/block.block.bootstrap_breadcrumbs.yml deleted file mode 100644 index b32ca212..00000000 --- a/config/sync/language/en/block.block.bootstrap_breadcrumbs.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Breadcrumbs diff --git a/config/sync/language/en/block.block.bootstrap_content.yml b/config/sync/language/en/block.block.bootstrap_content.yml deleted file mode 100644 index 69d43832..00000000 --- a/config/sync/language/en/block.block.bootstrap_content.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Main page content' diff --git a/config/sync/language/en/block.block.bootstrap_footer.yml b/config/sync/language/en/block.block.bootstrap_footer.yml deleted file mode 100644 index a5cb3e59..00000000 --- a/config/sync/language/en/block.block.bootstrap_footer.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Footer menu' diff --git a/config/sync/language/en/block.block.bootstrap_help.yml b/config/sync/language/en/block.block.bootstrap_help.yml deleted file mode 100644 index e5c227f8..00000000 --- a/config/sync/language/en/block.block.bootstrap_help.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Help diff --git a/config/sync/language/en/block.block.bootstrap_local_actions.yml b/config/sync/language/en/block.block.bootstrap_local_actions.yml deleted file mode 100644 index a0e953d3..00000000 --- a/config/sync/language/en/block.block.bootstrap_local_actions.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primary admin actions' diff --git a/config/sync/language/en/block.block.bootstrap_local_tasks.yml b/config/sync/language/en/block.block.bootstrap_local_tasks.yml deleted file mode 100644 index 35417c47..00000000 --- a/config/sync/language/en/block.block.bootstrap_local_tasks.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Tabs diff --git a/config/sync/language/en/block.block.bootstrap_main_menu.yml b/config/sync/language/en/block.block.bootstrap_main_menu.yml deleted file mode 100644 index 7cc0ab25..00000000 --- a/config/sync/language/en/block.block.bootstrap_main_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Main navigation' diff --git a/config/sync/language/en/block.block.bootstrap_messages.yml b/config/sync/language/en/block.block.bootstrap_messages.yml deleted file mode 100644 index 2a18c970..00000000 --- a/config/sync/language/en/block.block.bootstrap_messages.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Status messages' diff --git a/config/sync/language/en/block.block.bootstrap_page_title.yml b/config/sync/language/en/block.block.bootstrap_page_title.yml deleted file mode 100644 index 80bb8708..00000000 --- a/config/sync/language/en/block.block.bootstrap_page_title.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Page title' diff --git a/config/sync/language/en/block.block.bootstrap_powered.yml b/config/sync/language/en/block.block.bootstrap_powered.yml deleted file mode 100644 index fa207668..00000000 --- a/config/sync/language/en/block.block.bootstrap_powered.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Powered by Drupal' diff --git a/config/sync/language/en/block.block.bootstrap_search.yml b/config/sync/language/en/block.block.bootstrap_search.yml deleted file mode 100644 index 4c9d3568..00000000 --- a/config/sync/language/en/block.block.bootstrap_search.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Search diff --git a/config/sync/language/en/block.block.bootstrap_tools.yml b/config/sync/language/en/block.block.bootstrap_tools.yml deleted file mode 100644 index 5c6e08c2..00000000 --- a/config/sync/language/en/block.block.bootstrap_tools.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Tools diff --git a/config/sync/language/en/block.block.custom_theme_branding.yml b/config/sync/language/en/block.block.custom_theme_branding.yml deleted file mode 100644 index 3dcfcee4..00000000 --- a/config/sync/language/en/block.block.custom_theme_branding.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Site branding' diff --git a/config/sync/language/en/block.block.custom_theme_breadcrumbs.yml b/config/sync/language/en/block.block.custom_theme_breadcrumbs.yml deleted file mode 100644 index b32ca212..00000000 --- a/config/sync/language/en/block.block.custom_theme_breadcrumbs.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Breadcrumbs diff --git a/config/sync/language/en/block.block.custom_theme_content.yml b/config/sync/language/en/block.block.custom_theme_content.yml deleted file mode 100644 index 69d43832..00000000 --- a/config/sync/language/en/block.block.custom_theme_content.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Main page content' diff --git a/config/sync/language/en/block.block.custom_theme_footer.yml b/config/sync/language/en/block.block.custom_theme_footer.yml deleted file mode 100644 index a5cb3e59..00000000 --- a/config/sync/language/en/block.block.custom_theme_footer.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Footer menu' diff --git a/config/sync/language/en/block.block.custom_theme_local_actions.yml b/config/sync/language/en/block.block.custom_theme_local_actions.yml deleted file mode 100644 index a0e953d3..00000000 --- a/config/sync/language/en/block.block.custom_theme_local_actions.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Primary admin actions' diff --git a/config/sync/language/en/block.block.custom_theme_local_tasks.yml b/config/sync/language/en/block.block.custom_theme_local_tasks.yml deleted file mode 100644 index 35417c47..00000000 --- a/config/sync/language/en/block.block.custom_theme_local_tasks.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: Tabs diff --git a/config/sync/language/en/block.block.custom_theme_main_menu.yml b/config/sync/language/en/block.block.custom_theme_main_menu.yml deleted file mode 100644 index 7cc0ab25..00000000 --- a/config/sync/language/en/block.block.custom_theme_main_menu.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Main navigation' diff --git a/config/sync/language/en/block.block.custom_theme_messages.yml b/config/sync/language/en/block.block.custom_theme_messages.yml deleted file mode 100644 index 2a18c970..00000000 --- a/config/sync/language/en/block.block.custom_theme_messages.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Status messages' diff --git a/config/sync/language/en/block.block.custom_theme_page_title.yml b/config/sync/language/en/block.block.custom_theme_page_title.yml deleted file mode 100644 index 80bb8708..00000000 --- a/config/sync/language/en/block.block.custom_theme_page_title.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - label: 'Page title' diff --git a/config/sync/os2web_datalookup.serviceplatformen_cpr_extended.yml b/config/sync/os2web_datalookup.serviceplatformen_cpr_extended.yml index fe723b73..758b6336 100644 --- a/config/sync/os2web_datalookup.serviceplatformen_cpr_extended.yml +++ b/config/sync/os2web_datalookup.serviceplatformen_cpr_extended.yml @@ -10,3 +10,4 @@ accountinginfo: 'What is this?' certfile_passphrase: '' certfile: '' certfile_test: '' +test_mode_fixed_cpr: '' From d60162fb90fec281a727aea4d85c0220a3e309b8 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 13:08:01 +0100 Subject: [PATCH 08/14] More config cleanup --- config/sync/core.extension.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 71d11873..b227c18b 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -163,8 +163,6 @@ module: eu_cookie_compliance: 1001 os2forms_encrypt: 9999 theme: - bootstrap: 0 - custom_theme: 0 claro: 0 gin: 0 olivero: 0 From d66521572ca2383aab9fef04ba141f5cb42cd2af Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 13:32:35 +0100 Subject: [PATCH 09/14] Applied coding standards --- .../custom/os2forms_permissions_by_term/src/Helper/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/os2forms_permissions_by_term/src/Helper/Helper.php b/web/modules/custom/os2forms_permissions_by_term/src/Helper/Helper.php index f96c191f..fe584f77 100644 --- a/web/modules/custom/os2forms_permissions_by_term/src/Helper/Helper.php +++ b/web/modules/custom/os2forms_permissions_by_term/src/Helper/Helper.php @@ -289,7 +289,7 @@ public function nodeAccess(NodeInterface $node, $operation, AccountInterface $ac switch ($operation) { case 'view': // Deny access to node view if no permission by term is set. - $nodePermissionsByTerm = $node->field_os2forms_permissions->getValue(); + $nodePermissionsByTerm = $node->get('field_os2forms_permissions')->getValue(); if (empty($nodePermissionsByTerm)) { return AccessResult::forbidden(); } From 8ed8d6646a2b513f00d0997f47f5f62641d3153e Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 13:36:03 +0100 Subject: [PATCH 10/14] Cleanup --- .github/workflows/pr.yaml | 2 +- .../src/CustomMaestroTemplateEntityListBuilder.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 901ae0d8..2407bb50 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -176,7 +176,7 @@ jobs: docker compose exec --user root phpfpm composer install --no-interaction # Install the site - docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes -vvv + docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes # Download and install external libraries docker compose exec --user root phpfpm vendor/bin/drush webform:libraries:download diff --git a/web/modules/custom/os2forms_webform_list/src/CustomMaestroTemplateEntityListBuilder.php b/web/modules/custom/os2forms_webform_list/src/CustomMaestroTemplateEntityListBuilder.php index f4d46ced..c68151cf 100644 --- a/web/modules/custom/os2forms_webform_list/src/CustomMaestroTemplateEntityListBuilder.php +++ b/web/modules/custom/os2forms_webform_list/src/CustomMaestroTemplateEntityListBuilder.php @@ -16,7 +16,6 @@ class CustomMaestroTemplateEntityListBuilder extends MaestroTemplateListBuilder */ public function load() { $entity_ids = $this->getEntityIds(); - // @phpstan-ignore-next-line $entities = $this->storage->loadMultipleOverrideFree($entity_ids); uasort($entities, [$this->entityType->getClass(), 'sort']); From 3d59ce6064ba8a4c13be34947d1675e725953e89 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 14:46:53 +0100 Subject: [PATCH 11/14] Added update hook to switch installation_profile --- config/sync/core.extension.yml | 2 +- .../os2forms_selvbetjening.install | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index b227c18b..571a8f3e 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -159,9 +159,9 @@ module: content_translation: 10 externalauth: 10 views: 10 - minimal: 1000 eu_cookie_compliance: 1001 os2forms_encrypt: 9999 + minimal: 1000 theme: claro: 0 gin: 0 diff --git a/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install new file mode 100644 index 00000000..6cf37add --- /dev/null +++ b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install @@ -0,0 +1,52 @@ +delete('system.profile.files'); + + // Set the profile in configuration. + $extension_config = $config_factory->getEditable('core.extension'); + $extension_config->set('profile', $profile_to_install) + ->save(); + + drupal_flush_all_caches(); + + // Install profiles are also registered as enabled modules. + // Remove the old profile and add in the new one. + $extension_config->clear("module.{$profile_to_remove}") + ->save(); + // The install profile is always given a weight of 1000 by the core + // extension system. + $extension_config->set("module.$profile_to_install", 1000) + ->save(); + + // Remove the schema value for the old install profile, and set the schema + // for the new one. We set the schema version to 8000, in the absence of any + // knowledge about it. TODO: add an option for the schema version to set for + // the new profile, or better yet, analyse the profile's hook_update_N() + // functions to deduce the schema to set. + $key_value->get('system.schema')->delete($profile_to_remove); + $key_value->get('system.schema')->set($profile_to_install, 8000); + + // Clear caches again. + drupal_flush_all_caches(); + +} From 0e62ed4d8529ecfd2a649776f1480443d2348863 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 14:50:17 +0100 Subject: [PATCH 12/14] Applied coding standards --- .../os2forms_selvbetjening/os2forms_selvbetjening.install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install index 6cf37add..965e49ae 100644 --- a/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install +++ b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.install @@ -8,8 +8,9 @@ /** * Switch to minimal profile. * - * Heavily inspired by the profile_switcher module - * @see https://git.drupalcode.org/project/profile_switcher. + * Heavily inspired by the profile_switcher module. + * + * @see https://git.drupalcode.org/project/profile_switcher */ function os2forms_selvbetjening_update_10001() { $profile_to_remove = \Drupal::installProfile(); From 0910bb5f785c8528d5312d443be1a248a47b4724 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Thu, 31 Oct 2024 19:24:25 +0100 Subject: [PATCH 13/14] Add intermediate webform_migrate module --- .gitignore | 1 + web/modules/custom/webform_migrate/README.md | 4 ++++ .../custom/webform_migrate/webform_migrate.info.yml | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 web/modules/custom/webform_migrate/README.md create mode 100644 web/modules/custom/webform_migrate/webform_migrate.info.yml diff --git a/.gitignore b/.gitignore index 3d907ce7..5299ff6a 100644 --- a/.gitignore +++ b/.gitignore @@ -66,6 +66,7 @@ !/web/modules/custom/os2forms_fbs_handler !/web/modules/custom/os2forms_permission_alterations !/web/modules/custom/os2forms_email_handler +!/web/modules/custom/webform_migrate # Ignore site specific modules. /web/sites/*/modules diff --git a/web/modules/custom/webform_migrate/README.md b/web/modules/custom/webform_migrate/README.md new file mode 100644 index 00000000..23996f2f --- /dev/null +++ b/web/modules/custom/webform_migrate/README.md @@ -0,0 +1,4 @@ +# Webform migrate + +Intermediate step to be able to uninstall module. Delete this as soon +as possible. diff --git a/web/modules/custom/webform_migrate/webform_migrate.info.yml b/web/modules/custom/webform_migrate/webform_migrate.info.yml new file mode 100644 index 00000000..6676b1c5 --- /dev/null +++ b/web/modules/custom/webform_migrate/webform_migrate.info.yml @@ -0,0 +1,12 @@ +name: 'Webform Migrate' +type: module +description: 'Deletable' +core_version_requirement: ^8.8 || ^9 || ^10 +package: 'Migration' +dependencies: + - drupal:field + - drupal:migrate + - drupal:migrate_drupal + - drupal:node + - webform:webform + - webform:webform_node From 45569ab298a0ef00e425303f38d1eebf1d978c72 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Fri, 1 Nov 2024 10:04:06 +0100 Subject: [PATCH 14/14] Removed dependencies from intermediate webform_migrate module --- .../custom/webform_migrate/webform_migrate.info.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/web/modules/custom/webform_migrate/webform_migrate.info.yml b/web/modules/custom/webform_migrate/webform_migrate.info.yml index 6676b1c5..c450cfcd 100644 --- a/web/modules/custom/webform_migrate/webform_migrate.info.yml +++ b/web/modules/custom/webform_migrate/webform_migrate.info.yml @@ -3,10 +3,3 @@ type: module description: 'Deletable' core_version_requirement: ^8.8 || ^9 || ^10 package: 'Migration' -dependencies: - - drupal:field - - drupal:migrate - - drupal:migrate_drupal - - drupal:node - - webform:webform - - webform:webform_node