You are here

function _dblog_get_message_types in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/dblog/dblog.module \_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.

1 call to _dblog_get_message_types()
dblog_filters in core/modules/dblog/dblog.admin.inc
Creates a list of database log administration filters that can be applied.
1 string reference to '_dblog_get_message_types'
dblog_views_data in core/modules/dblog/dblog.views.inc
Implements hook_views_data().

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);
}