class TestDefaultExceptionSubscriber
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber
Hierarchy
- class \Drupal\Core\EventSubscriber\FinalExceptionSubscriber extends \Symfony\Component\EventDispatcher\EventSubscriberInterface uses \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber implements \Drupal\Core\EventSubscriber\FinalExceptionSubscriber
Expanded class hierarchy of TestDefaultExceptionSubscriber
File
-
core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ FinalExceptionSubscriberTest.php, line 47
Namespace
Drupal\Tests\Core\EventSubscriberView 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.