You are here

public function BackendPluginBase::getServer in Search API 8

Retrieves the server entity for this backend.

Return value

\Drupal\search_api\ServerInterface The server entity.

Overrides BackendInterface::getServer

File

src/Backend/BackendPluginBase.php, line 162

Class

BackendPluginBase
Defines a base class for backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function getServer() {
  return $this->server;
}