function drush_watchdog_message_types

8.0.x environment_7.inc drush_watchdog_message_types()
8.0.x environment_6.inc drush_watchdog_message_types()
8.0.x environment.inc drush_watchdog_message_types()
7.x environment_7.inc drush_watchdog_message_types()
7.x environment_6.inc drush_watchdog_message_types()
7.x environment.inc drush_watchdog_message_types()
master environment_7.inc drush_watchdog_message_types()
master environment.inc drush_watchdog_message_types()

Helper function to obtain the message types based on drupal version.

Return value

Array of watchdog message types.

2 calls to drush_watchdog_message_types()
core_watchdog_query in commands/core/watchdog.drush.inc
Build a WHERE snippet based on given parameters.
drush_core_watchdog_list in commands/core/watchdog.drush.inc
Command callback.

File

commands/core/drupal/environment_7.inc, line 303
Specific functions for a drupal 7 environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal drush is called from.

Code

function drush_watchdog_message_types() {
  return drupal_map_assoc(_dblog_get_message_types());
}