Skip to content
Snippets Groups Projects
Commit a5c8322f authored by Alex McCabe's avatar Alex McCabe Committed by Greg Boggs
Browse files

Issue #3053928 by alexdmccabe, Grayle, sunlix, Greg Boggs: Module assumes help module is installed

parent a735fe20
No related branches found
No related merge requests found
......@@ -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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment