class TestDefaultExceptionSubscriber

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber

Hierarchy

Expanded class hierarchy of TestDefaultExceptionSubscriber

File

core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php, line 47

Namespace

Drupal\Tests\Core\EventSubscriber
View source
class TestDefaultExceptionSubscriber extends FinalExceptionSubscriber {
  protected function isErrorDisplayable($error) {
    return TRUE;
  }
  protected function simplifyFileInError($error) {
    return $error;
  }
  protected function isErrorLevelVerbose() {
    return TRUE;
  }

}

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