Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config_readonly
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
config_readonly
Commits
c6fb1019
Commit
c6fb1019
authored
10 months ago
by
Balu Ertl
Committed by
Jakob P
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3428556
: Automated Drupal 11 compatibility fixes for config_readonly
parent
eef01835
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!10
Resolve #3428556 "Automated drupal 11"
Pipeline
#214364
passed
10 months ago
Stage: build
Stage: validate
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config_readonly.info.yml
+1
-1
1 addition, 1 deletion
config_readonly.info.yml
src/EventSubscriber/ReadOnlyFormSubscriber.php
+1
-1
1 addition, 1 deletion
src/EventSubscriber/ReadOnlyFormSubscriber.php
with
2 additions
and
2 deletions
config_readonly.info.yml
+
1
−
1
View file @
c6fb1019
...
...
@@ -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
|| ^1
0
core_version_requirement
:
^9.
5 || ^10
|| ^1
1
This diff is collapsed.
Click to expand it.
src/EventSubscriber/ReadOnlyFormSubscriber.php
+
1
−
1
View file @
c6fb1019
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment