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.
As per my comment #36 in http://drupal.org/node/67893, and Dries' approval ...
After the new hook_watchdog was introduced, module may need to know the severities defined by Drupal, so they can display the description to the user if needed.
This patch introduces a new function that can be called by any module, instead of every module having a version of it.
Goba/Dries
When you commit this, please leave it open so I can change the documentation.
Comment | File | Size | Author |
---|---|---|---|
severity-list.patch | 1.04 KB | kbahey | |
Comments
Comment #1
kbahey CreditAttribution: kbahey commentedComment #2
dwwat dries's request, this is duplicate with http://drupal.org/node/67893#comment-234286 ;)