function FinalExceptionSubscriber::isErrorLevelVerbose

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php \Drupal\Core\EventSubscriber\FinalExceptionSubscriber::isErrorLevelVerbose()
  2. 8.9.x core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php \Drupal\Core\EventSubscriber\FinalExceptionSubscriber::isErrorLevelVerbose()
  3. 10 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 187

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.