diff --git a/colorbox.install b/colorbox.install index 742667bad8f3aea518f9e6ac63ee6f9c697f943a..50c69cdd18fc6b24806b7a29b6513f8765620b56 100644 --- a/colorbox.install +++ b/colorbox.install @@ -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 @url_settings', [ - '@url_settings' => '/admin/config/media/colorbox', + '@url_settings' => Url::fromRoute('colorbox.admin_settings')->toString(), ])); }