You are here

protected function FinalExceptionSubscriber::isErrorLevelVerbose in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php \Drupal\Core\EventSubscriber\FinalExceptionSubscriber::isErrorLevelVerbose()

Checks whether the error level is verbose or not.

Return value

bool

1 call to FinalExceptionSubscriber::isErrorLevelVerbose()
FinalExceptionSubscriber::onException in core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php
Handles exceptions for this subscriber.
1 method overrides FinalExceptionSubscriber::isErrorLevelVerbose()
TestDefaultExceptionSubscriber::isErrorLevelVerbose in core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php
Checks whether the error level is verbose or not.

File

core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php, line 155

Class

FinalExceptionSubscriber
Last-chance handler for exceptions: the final exception subscriber.

Namespace

Drupal\Core\EventSubscriber

Code

protected function isErrorLevelVerbose() {
  return $this
    ->getErrorLevel() === ERROR_REPORTING_DISPLAY_VERBOSE;
}