You are here

public function SolrCacheController::disableOnServer in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/Controller/SolrCacheController.php \Drupal\search_api_solr\Controller\SolrCacheController::disableOnServer()

Disables a Solr Entity on this server.

Parameters

\Drupal\search_api\ServerInterface $search_api_server: Search API server.

\Drupal\search_api_solr\SolrConfigInterface $solr_cache: Solr cache.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Redirect response.

Throws

\Drupal\Core\Entity\EntityStorageException

Overrides AbstractSolrEntityController::disableOnServer

1 string reference to 'SolrCacheController::disableOnServer'
search_api_solr.routing.yml in ./search_api_solr.routing.yml
search_api_solr.routing.yml

File

src/Controller/SolrCacheController.php, line 33

Class

SolrCacheController
Provides different listings of SolrCache.

Namespace

Drupal\search_api_solr\Controller

Code

public function disableOnServer(ServerInterface $search_api_server, SolrConfigInterface $solr_cache) {
  return parent::disableOnServer($search_api_server, $solr_cache);
}