1.20.x drupal.inc drupal_error_levels()

Maps PHP error constants to watchdog severity levels.

Deprecated

since 1.0.0

See also

backdrop_error_levels()

Related topics

File

includes/drupal.inc, line 1604
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_error_levels() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_error_levels();
}