Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
drupal
Merge requests
!10402
Add skip option to modules
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Add skip option to modules
issue/drupal-3490355:3490355-explore-ways-to
into
11.x
Overview
4
Commits
11
Pipelines
9
Changes
24
4 unresolved threads
Hide all comments
Open
nicxvan
requested to merge
issue/drupal-3490355:3490355-explore-ways-to
into
11.x
5 months ago
Overview
4
Commits
11
Pipelines
9
Changes
24
4 unresolved threads
Hide all comments
Expand
Closes
#3490355
0
0
Merge request reports
Compare
11.x
version 8
f3cecd8e
5 months ago
version 7
482c358f
5 months ago
version 6
abba06a0
5 months ago
version 5
a180de7a
5 months ago
version 4
e5c73d3e
5 months ago
version 3
8e309f27
5 months ago
version 2
0f06894a
5 months ago
version 1
c7d7d081
5 months ago
11.x (base)
and
latest version
latest version
d2a02554
11 commits,
5 months ago
version 8
f3cecd8e
10 commits,
5 months ago
version 7
482c358f
9 commits,
5 months ago
version 6
abba06a0
8 commits,
5 months ago
version 5
a180de7a
6 commits,
5 months ago
version 4
e5c73d3e
5 commits,
5 months ago
version 3
8e309f27
4 commits,
5 months ago
version 2
0f06894a
2 commits,
5 months ago
version 1
c7d7d081
1 commit,
5 months ago
24 files
+
209
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
24
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Extension/Extension.php
+
20
−
0
Options
@@ -225,4 +225,24 @@ public function isObsolete(): bool {
&&
$this
->
info
[
ExtensionLifecycle
::
LIFECYCLE_IDENTIFIER
]
===
ExtensionLifecycle
::
OBSOLETE
);
}
/**
* Sets procedural value.
*
* @param string $scan
* Should the module be scanned for procedural hooks.
*/
public
function
setProceduralScan
(
string
$scan
):
void
{
$this
->
info
[
ExtensionHookStatus
::
PROCEDURAL_HOOKS
]
=
$scan
;
}
/**
* Checks if an extension should skip procedural hooks.
*
* @return string
* FALSE if an extension has procedural hooks, TRUE otherwise.
nicxvan
@nicxvan
5 months ago
Author
This needs updating
Please
register
or
sign in
to reply
*/
public
function
scanProceduralHooks
():
string
{
return
$this
->
info
[
ExtensionHookStatus
::
PROCEDURAL_HOOKS
]
??
'scan'
;
}
}
Loading
This needs updating