function core_watchdog_message_types

6.x core_watchdog_message_types()
3.x core_watchdog_message_types()
4.x core_watchdog_message_types()
5.x core_watchdog_message_types()

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

Return value

Array of watchdog message types.

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


commands/core/, line 367


function core_watchdog_message_types() {
  if (drush_drupal_major_version() == 5) {
    return _watchdog_get_message_types();
  else {
    return _dblog_get_message_types();