From 8e0840d88191a087154008a30de8b4f79e376a47 Mon Sep 17 00:00:00 2001 From: Johnathan Bamber Date: Wed, 3 Aug 2022 23:29:34 -0400 Subject: [PATCH 1/2] Added core_version_requirement to .info.yml. --- aluminum.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aluminum.info.yml b/aluminum.info.yml index a942756..52b469a 100644 --- a/aluminum.info.yml +++ b/aluminum.info.yml @@ -2,5 +2,5 @@ name: Aluminum Core type: module description: "Provides a pluggable set of building blocks for composing a website." version: 8.x-1.0-alpha1 -core: 8.x +core_version_requirement: ^8 || ^9 package: Aluminum From 2b5a5a25300c98bddf944c7fdf1904954f934378 Mon Sep 17 00:00:00 2001 From: Scott Sawyer Date: Tue, 3 Sep 2024 14:19:38 -0400 Subject: [PATCH 2/2] Fixes #6 - Not too much that I can see in this module, not thrilled with code style, but a bit out of scope --- aluminum.info.yml | 4 ++-- src/Controller/AluminumAdminController.php | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/aluminum.info.yml b/aluminum.info.yml index 52b469a..0cf9993 100644 --- a/aluminum.info.yml +++ b/aluminum.info.yml @@ -1,6 +1,6 @@ name: Aluminum Core type: module description: "Provides a pluggable set of building blocks for composing a website." -version: 8.x-1.0-alpha1 -core_version_requirement: ^8 || ^9 +version: 8.x-2.0-alpha1 +core_version_requirement: ^9 || ^10 package: Aluminum diff --git a/src/Controller/AluminumAdminController.php b/src/Controller/AluminumAdminController.php index 566b464..8b37ea6 100644 --- a/src/Controller/AluminumAdminController.php +++ b/src/Controller/AluminumAdminController.php @@ -1,24 +1,20 @@ 'markup', '#markup' => '

' . $this->t('This is the Aluminum configuration section. Use the child pages of this section to configure Aluminum.') . '

', + '#allowed_tags' => ['p'], ]; return $build;