Problem/Motivation

Using the smtp module for a distribution, we want to get rid of all unnecessary messages after initial installation.
The SMTP module has two of them, both well-intended, but unneeded:

"Thanks for installing SMTP Authentication Support"
"Server settings on SMTP Authentication Support"

The first being just friendly, the second doubling the configure option from the modules info.yml

Steps to reproduce

Install SMTP module
Watch the messages

Proposed resolution

Remove messages

Remaining tasks

Remove messages

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Thanks for considering.

Comments

sanduhrs created an issue. See original summary.

sanduhrs’s picture

StatusFileSize
new538 bytes
tr’s picture

I'm not a big fan of messages inside hook_install() either.

As a side node, the current code really shouldn't be using @url_settings - it should use :url_settings instead. The above patch will eliminate this problem.

tobiasb’s picture

Status: Active » Needs work

The message aka inconsistent behavior aka in german we say extrawurst was moved to smtp_modules_installed().

mpaulo’s picture

Assigned: Unassigned » mpaulo

I think seeing these messages every time a new module is installed can become quite annoying.
I'm taking a look at this.

  • japerry committed 1892ad3 on 8.x-1.x
    Issue #3248547 by sanduhrs: Remove after install messages
    
japerry’s picture

Status: Needs work » Fixed

Totally agree. Removed.

mpaulo’s picture

Assigned: mpaulo » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.