Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easy_breadcrumb-3435864
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
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
easy_breadcrumb-3435864
Commits
a5c8322f
Commit
a5c8322f
authored
5 years ago
by
Alex McCabe
Committed by
Greg Boggs
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3053928
by alexdmccabe, Grayle, sunlix, Greg Boggs: Module assumes help module is installed
parent
a735fe20
No related branches found
Tags
4.7.x-1.6-beta5
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
easy_breadcrumb.install
+2
-2
2 additions, 2 deletions
easy_breadcrumb.install
with
2 additions
and
2 deletions
easy_breadcrumb.install
+
2
−
2
View file @
a5c8322f
...
...
@@ -27,10 +27,10 @@ function easy_breadcrumb_update_8001(&$sandbox) {
function
easy_breadcrumb_install
()
{
$messenger
=
\Drupal
::
messenger
();
$settings_url
=
Url
::
fromRoute
(
'easy_breadcrumb.general_settings_form'
)
->
toString
();
$help_url
=
Url
::
fromRoute
(
'help.page'
,
[
'name'
=>
'
easy
_
breadcrumb'
])
->
toString
()
;
$help_url
=
'https://www.drupal.org/docs/8/modules/
easy
-
breadcrumb'
;
$messenger
->
addMessage
(
"Easy Breadcrumb settings are found on
$settings_url
."
);
$messenger
->
addMessage
(
"Easy Breadcrumb documentation is found
on
$help_url
."
);
$messenger
->
addMessage
(
"Easy Breadcrumb documentation is found
in the help module or at
$help_url
."
);
// Clear the cache tags so that the new breadcrumbs appear after install.
Cache
::
invalidateTags
([
'rendered'
]);
...
...
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