_dblog_get_message_types

_dblog_get_message_types()

Gathers a list of uniquely defined database log message types.

Return value

array List of uniquely defined database log message types.

File

core/modules/dblog/dblog.module, line 89
System monitoring and logging for administrators.

Code

function _dblog_get_message_types() {
  return db_query('SELECT DISTINCT(type) FROM {watchdog} ORDER BY type')
    ->fetchAllKeyed(0, 0);
}
doc_Drupal
2016-10-29 09:57:08
Comments
Leave a Comment

Please login to continue.