getIndexName(); if (!$service->coreIsActive($core)) { $brokenCores[] = $core; } } if (!empty($brokenCores)) { return [ EnvironmentCheck::ERROR, 'The following indexes are unavailable: ' . implode(', ', $brokenCores) ]; } return [EnvironmentCheck::OK, 'Expected indexes are available.']; } }