Problem/Motivation

Currently only use STATUS message type.

Please allow different message types:

  • STATUS
  • WARNING
  • ERROR

(see: \Drupal\Core\Messenger\MessengerInterface)

Comments

nevergone created an issue. See original summary.

nevergone’s picture

Issue summary: View changes
omkar-pd’s picture

Status: Active » Needs review
StatusFileSize
new3.08 KB

Added select list in setting form for the message type.
the default message type is selected to status.

Options:

  1. Status
  2. Warning
  3. Error
omkar-pd’s picture

nevergone’s picture

Issue tags: +Needs tests

Please add test.

omkar-pd’s picture

No idea about writing test cases, hope someone else adds tests,

vighneshh’s picture

Assigned: Unassigned » vighneshh

Will work on adding few tests

vighneshh’s picture

Assigned: vighneshh » Unassigned
StatusFileSize
new9.24 KB
new7.05 KB

Added message type related config tests
please review.
Also adding an interdff between the #3 patch and my new patch.

  • nevergone committed ed7aa05 on 8.x-1.x
    Issue #3302137 by omkar-pd, Vighneshh, nevergone: Logout message type
    
nevergone’s picture

Status: Needs review » Fixed
Issue tags: -Needs tests

Commited with test refactoring, thanks! :)

Status: Fixed » Closed (fixed)

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