You are here

protected static property Watchdog::$severityConstants in Drupal 7 to 8/9 Module Upgrader 8

File

src/Plugin/DMU/Converter/Functions/Watchdog.php, line 19

Class

Watchdog
Plugin annotation @Converter( id = "watchdog", description = @Translation("Converts calls to watchdog() to \Drupal::logger().") )

Namespace

Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions

Code

protected static $severityConstants = [
  'WATCHDOG_EMERGENCY',
  'WATCHDOG_ALERT',
  'WATCHDOG_CRITICAL',
  'WATCHDOG_ERROR',
  'WATCHDOG_WARNING',
  'WATCHDOG_NOTICE',
  'WATCHDOG_INFO',
  'WATCHDOG_DEBUG',
];