Skip to content

feat: drupal 11 support #123

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

Merged
merged 4 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all 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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"require": {
"drupal/core": "^10.2",
"drupal/core": "^10.2 || ^11.0",
"drupal/diff": "^1.0",
"drupal/responsive_preview": "^2.0",
"drupal/scheduled_transitions": "^2.1",
Expand Down
2 changes: 1 addition & 1 deletion localgov_workflows.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: LocalGov Workflows
description: Provides the default editorial workflow for content types.
package: LocalGov Drupal
type: module
core_version_requirement: ^10.2
core_version_requirement: ^10 || ^11

dependencies:
- drupal:content_moderation
Expand Down
2 changes: 1 addition & 1 deletion modules/localgov_review_date/localgov_review_date.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: LocalGov Review Date
description: Provides a review dates entity and widget, along with views for managing content reviews.
package: LocalGov Drupal
type: module
core_version_requirement: ^9 || ^10
core_version_requirement: ^10 || ^11

dependencies:
- drupal:content_moderation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'LocalGov Workflows Notifications'
type: module
description: 'Send notifications to service contacts when content needs reviewing.'
package: LocalGov Drupal
core_version_requirement: ^9 || ^10
core_version_requirement: ^10.2 || ^11
dependencies:
- localgov_workflows:localgov_workflows
- symfony_mailer:symfony_mailer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Drupal\localgov_workflows_notifications\Form;

use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Config\TypedConfigManagerInterface;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\localgov_workflows_notifications\NotificationTimer;
Expand All @@ -27,12 +28,12 @@ final class LocalgovWorkflowsNotificationsSettingsForm extends ConfigFormBase {
* The factory for configuration objects.
* @param \Drupal\localgov_workflows_notifications\NotificationTimer $notification_timer
* The notification timer service.
* @param \Drupal\Core\Config\TypedConfigManagerInterface|null $typedConfigManager
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager
* The typed config manager.
*/
public function __construct(ConfigFactoryInterface $config_factory, NotificationTimer $notification_timer, protected $typedConfigManager = NULL) {
public function __construct(ConfigFactoryInterface $config_factory, NotificationTimer $notification_timer, TypedConfigManagerInterface $typed_config_manager) {
$this->timer = $notification_timer;
parent::__construct($config_factory, $typedConfigManager);
parent::__construct($config_factory, $typed_config_manager);
}

/**
Expand Down
Loading