Commit 9faadb4e authored by jalpesh's avatar jalpesh Committed by RenatoG

Issue #2893035 by jalpesh, RenatoG: Remove "/" from "/admin/config/media/colorbox"

parent cd54d14a
......@@ -5,13 +5,15 @@
* 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 installing Colorbox'));
drupal_set_message(t('You may configure Colorbox by visiting <a href="@url_settings">@url_settings</a>', [
'@url_settings' => '/admin/config/media/colorbox',
'@url_settings' => Url::fromRoute('colorbox.admin_settings')->toString(),
]));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment