function TestDefaultExceptionSubscriber::isErrorDisplayable
Wrapper for error_displayable().
Parameters
$error: Optional error to examine for ERROR_REPORTING_DISPLAY_SOME.
Return value
bool
Overrides FinalExceptionSubscriber::isErrorDisplayable
File
-
core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ FinalExceptionSubscriberTest.php, line 51
Class
Namespace
Drupal\Tests\Core\EventSubscriberCode
protected function isErrorDisplayable($error) {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.