Fixed
Project:
Multiple Email Addresses
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 May 2026 at 20:52 UTC
Updated:
23 May 2026 at 22:03 UTC
Jump to comment: Most recent
The hook_install() implementation shows a link to the module settings page, but that is not necessary, since that link is already provided in the page showing the list of all the modules.
Remove the following code from multiple_email_install().
$link_text_parts = [
new TranslatableMarkup('Administer'),
new TranslatableMarkup('Configuration'),
new TranslatableMarkup('People'),
new TranslatableMarkup('Multiple email'),
];
$link_text = implode(' > ', $link_text_parts);
$link = Link::createFromRoute($link_text, 'multiple_email.admin.settings');
$message = new TranslatableMarkup('Multiple email settings are available under @link', [
'@link' => $link->toString(),
]);
Drupal::messenger()->addMessage($message);
Code showing a link should not try to build its breadcrumb; that is not how links are shown in Drupal.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
avpadernoComment #3
avpadernoComment #6
avpadernoComment #8
avpadernoComment #10
avpaderno