You are here

public function ServerInterface::getBackend in Search API 8

Retrieves the backend.

Return value

\Drupal\search_api\Backend\BackendInterface This server's backend plugin.

Throws

\Drupal\search_api\SearchApiException Thrown if the backend plugin could not be retrieved.

1 method overrides ServerInterface::getBackend()
Server::getBackend in src/Entity/Server.php
Retrieves the backend.

File

src/ServerInterface.php, line 57

Class

ServerInterface
Defines the interface for server entities.

Namespace

Drupal\search_api

Code

public function getBackend();