You are here

public function Server::getBackendId in Search API 8

Retrieves the plugin ID of the backend of this server.

Return value

string The plugin ID of the backend.

Overrides ServerInterface::getBackendId

3 calls to Server::getBackendId()
Server::getBackend in src/Entity/Server.php
Retrieves the backend.
Server::hasValidBackend in src/Entity/Server.php
Determines whether the backend is valid.
Server::preSave in src/Entity/Server.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/Server.php, line 137

Class

Server
Defines the search server configuration entity.

Namespace

Drupal\search_api\Entity

Code

public function getBackendId() {
  return $this->backend;
}