Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3421017
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3421017
Commits
df1a2b06
Commit
df1a2b06
authored
5 years ago
by
catch
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3097421
by longwave, andypost: Remove help.module BC layers
parent
273acd7a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/help/src/Controller/HelpController.php
+2
-7
2 additions, 7 deletions
core/modules/help/src/Controller/HelpController.php
with
2 additions
and
7 deletions
core/modules/help/src/Controller/HelpController.php
+
2
−
7
View file @
df1a2b06
...
@@ -44,16 +44,11 @@ class HelpController extends ControllerBase {
...
@@ -44,16 +44,11 @@ class HelpController extends ControllerBase {
* @param \Drupal\help\HelpSectionManager $help_manager
* @param \Drupal\help\HelpSectionManager $help_manager
* The help section manager.
* The help section manager.
* @param \Drupal\Core\Extension\ModuleExtensionList|null $module_extension_list
* @param \Drupal\Core\Extension\ModuleExtensionList|null $module_extension_list
* The module extension list. This is left optional for BC reasons, but the
* The module extension list.
* optional usage is deprecated and will become required in Drupal 9.0.0.
*/
*/
public
function
__construct
(
RouteMatchInterface
$route_match
,
HelpSectionManager
$help_manager
,
ModuleExtensionList
$module_extension_list
=
NULL
)
{
public
function
__construct
(
RouteMatchInterface
$route_match
,
HelpSectionManager
$help_manager
,
ModuleExtensionList
$module_extension_list
)
{
$this
->
routeMatch
=
$route_match
;
$this
->
routeMatch
=
$route_match
;
$this
->
helpManager
=
$help_manager
;
$this
->
helpManager
=
$help_manager
;
if
(
$module_extension_list
===
NULL
)
{
@
trigger_error
(
'Calling HelpController::__construct() with the $module_extension_list argument is supported in drupal:8.8.0 and will be required before drupal:9.0.0. See https://www.drupal.org/node/2709919.'
,
E_USER_DEPRECATED
);
$module_extension_list
=
\Drupal
::
service
(
'extension.list.module'
);
}
$this
->
moduleExtensionList
=
$module_extension_list
;
$this
->
moduleExtensionList
=
$module_extension_list
;
}
}
...
...
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