Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Issue forks
colorbox-3127345
Commits
44fa7bfe
Commit
44fa7bfe
authored
Apr 27, 2017
by
RenatoG
Committed by
RenatoG
Apr 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2873336
by RenatoG: Drupal 8 install set a tip for settings page shortcut
parent
7baa405f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
colorbox.install
colorbox.install
+12
-0
No files found.
colorbox.install
View file @
44fa7bfe
...
...
@@ -5,6 +5,18 @@
* Install, update and uninstall functions for the colorbox module.
*/
use
Drupal\Core\Url
;
/**
* Implements hook_install().
*/
function
colorbox_install
()
{
drupal_set_message
(
t
(
'Thanks for install the Colorbox'
));
drupal_set_message
(
t
(
'You may configurar o colorbox by visiting <a href="@url_settings">@url_settings</a>'
,
[
'@url_settings'
=>
Url
::
fromRoute
(
'colorbox.admin_settings'
)
->
toString
(),
]));
}
/**
* Implements hook_requirements().
*/
...
...
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