You are here

public function SolrRequestHandlerController::enableOnServer 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::enableOnServer()

Enables 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::enableOnServer

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

File

src/Controller/SolrRequestHandlerController.php, line 50

Class

SolrRequestHandlerController
Provides different listings of SolrRequestHandler.

Namespace

Drupal\search_api_solr\Controller

Code

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