DefaultExceptionSubscriber::getErrorLevel

protected DefaultExceptionSubscriber::getErrorLevel()

Gets the configured error level.

Return value

string

File

core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 55

Class

DefaultExceptionSubscriber
Last-chance handler for exceptions.

Namespace

Drupal\Core\EventSubscriber

Code

protected function getErrorLevel() {
  if (!isset($this->errorLevel)) {
    $this->errorLevel = $this->configFactory->get('system.logging')->get('error_level');
  }
  return $this->errorLevel;
}
doc_Drupal
2016-10-29 09:01:38
Comments
Leave a Comment

Please login to continue.