You are here

public function SolrRequestHandlerController::disableOnServer in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Controller/SolrRequestHandlerController.php \Drupal\search_api_solr\Controller\SolrRequestHandlerController::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_request_handler: Solr request handler.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Redirect response.

Throws

\Drupal\Core\Entity\EntityStorageException

Overrides AbstractSolrEntityController::disableOnServer

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

File

src/Controller/SolrRequestHandlerController.php, line 33

Class

SolrRequestHandlerController
Provides different listings of SolrRequestHandler.

Namespace

Drupal\search_api_solr\Controller

Code

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