From efb0b002134305db2aa701ea1a4fee29b0cebee4 Mon Sep 17 00:00:00 2001 From: Kristen Pol Date: Thu, 28 Sep 2023 20:00:49 +1000 Subject: [PATCH] Drupal 11 compatibility. --- modules/quant_api/quant_api.info.yml | 2 +- modules/quant_cron/quant_cron.info.yml | 2 +- modules/quant_purger/quant_purger.info.yml | 2 +- modules/quant_purger/src/StackMiddleware/UrlRegistrar.php | 2 +- modules/quant_search/quant_search.info.yml | 2 +- modules/quant_sitemap/quant_sitemap.info.yml | 2 +- modules/quant_tome/quant_tome.info.yml | 2 +- modules/quant_webform/quant_webform.info.yml | 2 +- quant.info.yml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/quant_api/quant_api.info.yml b/modules/quant_api/quant_api.info.yml index 4e8d0b8f..48ce4885 100644 --- a/modules/quant_api/quant_api.info.yml +++ b/modules/quant_api/quant_api.info.yml @@ -3,7 +3,7 @@ description: Connect to the hosted Quant service package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 configure: quant_api.settings_form dependencies: - drupal:quant diff --git a/modules/quant_cron/quant_cron.info.yml b/modules/quant_cron/quant_cron.info.yml index 61fe1670..6b358c31 100644 --- a/modules/quant_cron/quant_cron.info.yml +++ b/modules/quant_cron/quant_cron.info.yml @@ -3,7 +3,7 @@ description: Run Quant tasks during cron package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 configure: quant_cron.settings_form dependencies: - quant:quant_api diff --git a/modules/quant_purger/quant_purger.info.yml b/modules/quant_purger/quant_purger.info.yml index 5c819d3c..f5798fd9 100644 --- a/modules/quant_purger/quant_purger.info.yml +++ b/modules/quant_purger/quant_purger.info.yml @@ -3,7 +3,7 @@ description: Cache tag purger for Quant. package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 dependencies: - quant:quant diff --git a/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php b/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php index 396584a5..b58e069b 100644 --- a/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php +++ b/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php @@ -57,7 +57,7 @@ public function __construct(HttpKernelInterface $http_kernel, TrafficRegistryInt /** * {@inheritdoc} */ - public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) { + public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = TRUE) { $response = $this->httpKernel->handle($request, $type, $catch); if ($this->determine($request, $response)) { $this->registry->add( diff --git a/modules/quant_search/quant_search.info.yml b/modules/quant_search/quant_search.info.yml index 9baa8515..8ce0090f 100644 --- a/modules/quant_search/quant_search.info.yml +++ b/modules/quant_search/quant_search.info.yml @@ -3,7 +3,7 @@ description: 'Allows creation of Quant Search pages.' package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 configure: quant_search.main dependencies: - drupal:quant diff --git a/modules/quant_sitemap/quant_sitemap.info.yml b/modules/quant_sitemap/quant_sitemap.info.yml index 824fb56b..927b0f10 100644 --- a/modules/quant_sitemap/quant_sitemap.info.yml +++ b/modules/quant_sitemap/quant_sitemap.info.yml @@ -3,7 +3,7 @@ description: Quant simple_sitemap support package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 dependencies: - quant:quant_api diff --git a/modules/quant_tome/quant_tome.info.yml b/modules/quant_tome/quant_tome.info.yml index 34a285ac..64b4edb3 100644 --- a/modules/quant_tome/quant_tome.info.yml +++ b/modules/quant_tome/quant_tome.info.yml @@ -3,7 +3,7 @@ description: 'Deploy Tome static output to Quant.' package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 dependencies: - tome:tome_static diff --git a/modules/quant_webform/quant_webform.info.yml b/modules/quant_webform/quant_webform.info.yml index 64b4b768..0f3eba86 100644 --- a/modules/quant_webform/quant_webform.info.yml +++ b/modules/quant_webform/quant_webform.info.yml @@ -3,7 +3,7 @@ description: Quant Form support for Webform package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 dependencies: - quant:quant diff --git a/quant.info.yml b/quant.info.yml index 2491401e..f05ac1b3 100644 --- a/quant.info.yml +++ b/quant.info.yml @@ -3,7 +3,7 @@ description: Quant content export package: Quant type: module -core_version_requirement: ^9.3 || ^10 +core_version_requirement: ^9.3 || ^10 || ^11 configure: quant.config dependencies: - quant:quant_api