You are here

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

Same name and namespace in other branches
  1. 8.3 src/Controller/SolrCacheController.php \Drupal\search_api_solr\Controller\SolrCacheController::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_cache: Solr cache.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Redirect response.

Throws

\Drupal\Core\Entity\EntityStorageException

Overrides AbstractSolrEntityController::enableOnServer

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

File

src/Controller/SolrCacheController.php, line 50

Class

SolrCacheController
Provides different listings of SolrCache.

Namespace

Drupal\search_api_solr\Controller

Code

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