You are here

protected function SolrCacheListBuilder::getDisabledEntities in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Controller/SolrCacheListBuilder.php \Drupal\search_api_solr\Controller\SolrCacheListBuilder::getDisabledEntities()

Returns a list of all disabled caches for current server.

Return value

array List of all disabled caches for current server.

Throws

\Drupal\search_api\SearchApiException

Overrides AbstractSolrEntityListBuilder::getDisabledEntities

File

src/Controller/SolrCacheListBuilder.php, line 25

Class

SolrCacheListBuilder
Provides a listing of SolrCache.

Namespace

Drupal\search_api_solr\Controller

Code

protected function getDisabledEntities() : array {

  /** @var \Drupal\search_api_solr\SolrBackendInterface $backend */
  $backend = $this
    ->getBackend();
  return $backend
    ->getDisabledCaches();
}