public function DiagnosticsServiceInterface::isSystemOnFire in Purge 8.3
Reports if any of the diagnostic checks report a SEVERITY_ERROR severity.
This method provides a simple - boolean evaluable - way to determine if a DiagnosticCheckInterface::SEVERITY_ERROR severity was reported by one of the checks. If SEVERITY_ERROR was reported, purging cannot continue and should happen once all problems are resolved.
Return value
false|\Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticCheckInterface The SEVERITY_ERROR reporting check, or FALSE when everything was fine.
1 method overrides DiagnosticsServiceInterface::isSystemOnFire()
- DiagnosticsService::isSystemOnFire in src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticsService.php - Reports if any of the diagnostic checks report a SEVERITY_ERROR severity.
File
- src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticsServiceInterface.php, line 64
Class
- DiagnosticsServiceInterface
- Describes a service that interacts with diagnostic checks.
Namespace
Drupal\purge\Plugin\Purge\DiagnosticCheckCode
public function isSystemOnFire();