You are here

public function SolrRequestDispatcherController::disableOnServer in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/Controller/SolrRequestDispatcherController.php \Drupal\search_api_solr\Controller\SolrRequestDispatcherController::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_dispatcher: Solr request dispatcher.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Redirect response.

Throws

\Drupal\Core\Entity\EntityStorageException

Overrides AbstractSolrEntityController::disableOnServer

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

File

src/Controller/SolrRequestDispatcherController.php, line 33

Class

SolrRequestDispatcherController
Provides different listings of SolrRequestDispatcher.

Namespace

Drupal\search_api_solr\Controller

Code

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