Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
drupal_set_message allows 'warning' as a parameter for $type. Reflecting this in the comments.
Comment | File | Size | Author |
---|---|---|---|
#2 | setmessage2.patch | 597 bytes | alpritt |
setmessage.patch | 599 bytes | alpritt | |
Comments
Comment #1
webchickThat's great, thanks!!
The one improvement I would make is put them in order of severity. So notice first, then warning, then error.
Comment #2
alpritt CreditAttribution: alpritt commentedreordered.
Comment #3
webchickLooks great to me! RTBC. :)
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented