You are here

public function SolrRequestDispatcherController::enableOnServer in Search API Solr 4.x

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

Enables a Solr Entity on this server.

Parameters

\Drupal\search_api\ServerInterface $search_api_server: Serach 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::enableOnServer

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

File

src/Controller/SolrRequestDispatcherController.php, line 50

Class

SolrRequestDispatcherController
Provides different listings of SolrRequestDispatcher.

Namespace

Drupal\search_api_solr\Controller

Code

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