public function DiagnosticsService::filterInfo in Purge 8.3
Get only SEVERITY_INFO level checks.
Return value
\Iterator[] \Iterator object that yields DiagnosticCheckInterface instances.
Overrides DiagnosticsServiceInterface::filterInfo
File
- src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticsService.php, line 86
Class
- DiagnosticsService
- Provides a service that interacts with diagnostic checks.
Namespace
Drupal\purge\Plugin\Purge\DiagnosticCheckCode
public function filterInfo() {
return $this
->filter([
DiagnosticCheckInterface::SEVERITY_INFO,
]);
}