Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT Drupal 11 compatibility. #191

Draft
wants to merge 7 commits into
base: 8.x-1.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/quant_api/quant_api.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions modules/quant_api/src/Form/SettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ public function buildForm(array $form, FormStateInterface $form_state) {
return parent::buildForm($form, $form_state);
}

/**
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_state) {
}

/**
* {@inheritdoc}
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_cron/quant_cron.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion modules/quant_purger/quant_purger.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_purger/src/StackMiddleware/UrlRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
steveworley marked this conversation as resolved.
Show resolved Hide resolved
$response = $this->httpKernel->handle($request, $type, $catch);
if ($this->determine($request, $response)) {
$this->registry->add(
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_search/quant_search.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_sitemap/quant_sitemap.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion modules/quant_tome/quant_tome.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_webform/quant_webform.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion quant.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading