From 3fe73a22b8a3504c359fa8c59fba48f0fc29233f Mon Sep 17 00:00:00 2001 From: bblake <4692-bblake@users.noreply.drupalcode.org> Date: Tue, 13 Feb 2024 10:17:13 +0100 Subject: [PATCH 1/3] Issue #3137588 by bblake: Drupal 9 Deprecated Code Report --- elasticsearch_aws_connector.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch_aws_connector.module b/elasticsearch_aws_connector.module index 388b130..793a690 100644 --- a/elasticsearch_aws_connector.module +++ b/elasticsearch_aws_connector.module @@ -39,7 +39,7 @@ function elasticsearch_aws_connector_elasticsearch_connector_load_library_option // Return if AWS Region is not set. if (empty($cluster->options['elasticsearch_aws_connector_aws_region'])) { - drupal_set_message('One must configure the AWS region.'); + \Drupal::messenger()->addStatus('One must configure the AWS region.'); return; } -- GitLab From 48f1613a4cd7682b1e51b70782095fb52ab64e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Schr=C3=B6ter?= <31146-osopolar@users.noreply.drupalcode.org> Date: Tue, 13 Feb 2024 10:32:34 +0100 Subject: [PATCH 2/3] Issue #3147278 by osopolar, nmitev: Automated Drupal 9 compatibility fixes --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5980ef7..f692a6b 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "drupal/elasticsearch_connector": "^7.0-alpha2", + "drupal/elasticsearch_connector": "^8.0.x-dev", "jsq/amazon-es-php": "^0.3.0", "drupal/key": "^1.14" } -- GitLab From 6e00dddf972e78348aa583fc09b2bb1a01f9e7c2 Mon Sep 17 00:00:00 2001 From: Martin Kolar <kolar@cngroup.dk> Date: Tue, 13 Feb 2024 10:34:35 +0100 Subject: [PATCH 3/3] Support only drupal/key module with D10 compatibility. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f692a6b..f53cfd2 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,6 @@ "require": { "drupal/elasticsearch_connector": "^8.0.x-dev", "jsq/amazon-es-php": "^0.3.0", - "drupal/key": "^1.14" + "drupal/key": "^1.16" } } -- GitLab