Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
315
Merge Requests
315
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
36adc62b
Commit
36adc62b
authored
Jan 06, 2014
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2163625
by StephaneQ: Fix incorrect method reference in comment in ModuleHandler
parent
d9227efb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/lib/Drupal/Core/Extension/ModuleHandler.php
core/lib/Drupal/Core/Extension/ModuleHandler.php
+1
-1
No files found.
core/lib/Drupal/Core/Extension/ModuleHandler.php
View file @
36adc62b
...
...
@@ -426,7 +426,7 @@ protected function getImplementationInfo($hook) {
$hook_info
=
$this
->
getHookInfo
();
foreach
(
$this
->
moduleList
as
$module
=>
$filename
)
{
$include_file
=
isset
(
$hook_info
[
$hook
][
'group'
])
&&
$this
->
loadInclude
(
$module
,
'inc'
,
$module
.
'.'
.
$hook_info
[
$hook
][
'group'
]);
// Since $this->
hookImplements
() may needlessly try to load the include
// Since $this->
implementsHook
() may needlessly try to load the include
// file again, function_exists() is used directly here.
if
(
function_exists
(
$module
.
'_'
.
$hook
))
{
$this
->
implementations
[
$hook
][
$module
]
=
$include_file
?
$hook_info
[
$hook
][
'group'
]
:
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment