You are here

protected function BackendTrait::getBackend in Search API Solr 8.3

Same name in this branch
  1. 8.3 src/Controller/BackendTrait.php \Drupal\search_api_solr\Controller\BackendTrait::getBackend()
  2. 8.3 src/Plugin/search_api_autocomplete/suggester/BackendTrait.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\BackendTrait::getBackend()
Same name and namespace in other branches
  1. 4.x src/Controller/BackendTrait.php \Drupal\search_api_solr\Controller\BackendTrait::getBackend()

Returns the Search API server backend.

Return value

\Drupal\search_api_solr\SolrBackendInterface The Search API server backend.

9 calls to BackendTrait::getBackend()
AbstractSolrEntityListBuilder::load in src/Controller/AbstractSolrEntityListBuilder.php
SolrCacheListBuilder::getDisabledEntities in src/Controller/SolrCacheListBuilder.php
Returns a list of all disabled caches for current server.
SolrConfigSetController::getConfigFiles in src/Controller/SolrConfigSetController.php
Returns the configuration files names and content.
SolrConfigSetController::getConfigZip in src/Controller/SolrConfigSetController.php
Returns a ZipStream of all configuration files.
SolrConfigSetController::getListBuilder in src/Controller/SolrConfigSetController.php
Returns a ListBuilder.

... See full list

File

src/Controller/BackendTrait.php, line 73

Class

BackendTrait
Provides a listing of Solr Entities.

Namespace

Drupal\search_api_solr\Controller

Code

protected function getBackend() {
  return $this->backend;
}