protected function TestDefaultExceptionSubscriber::isErrorDisplayable in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber::isErrorDisplayable()
- 9 core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\TestDefaultExceptionSubscriber::isErrorDisplayable()
Wrapper for error_displayable().
Parameters
$error: Optional error to examine for ERROR_REPORTING_DISPLAY_SOME.
Return value
bool
Overrides FinalExceptionSubscriber::isErrorDisplayable
See also
\error_displayable
File
- core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ FinalExceptionSubscriberTest.php, line 49
Class
Namespace
Drupal\Tests\Core\EventSubscriberCode
protected function isErrorDisplayable($error) {
return TRUE;
}