Skip to content
Snippets Groups Projects
Commit c6fb1019 authored by Balu Ertl's avatar Balu Ertl Committed by Jakob P
Browse files

Issue #3428556: Automated Drupal 11 compatibility fixes for config_readonly

parent eef01835
Branches
Tags
1 merge request!10Resolve #3428556 "Automated drupal 11"
Pipeline #214364 passed
......@@ -2,4 +2,4 @@ name: 'Configuration Read-only'
type: module
description: 'Enables making the active configuration store read-only to prevent configuration changes on a Drupal site.'
package: Configuration
core_version_requirement: ^9.1 || ^10
core_version_requirement: ^9.5 || ^10 || ^11
......@@ -106,7 +106,7 @@ class ReadOnlyFormSubscriber implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events = [];
$events[ReadOnlyFormEvent::NAME][] = ['onFormAlter', 200];
return $events;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment