function TestDefaultExceptionSubscriber::isErrorDisplayable

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber::isErrorDisplayable()
  2. 8.9.x core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber::isErrorDisplayable()
  3. 11.x core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber::isErrorDisplayable()

Overrides FinalExceptionSubscriber::isErrorDisplayable

File

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

Class

TestDefaultExceptionSubscriber

Namespace

Drupal\Tests\Core\EventSubscriber

Code

protected function isErrorDisplayable($error) {
    return TRUE;
}

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