You are here

public function BackendInterface::setServer in Search API 8

Sets the server entity for this backend.

Parameters

\Drupal\search_api\ServerInterface $server: The server entity.

Return value

$this

1 method overrides BackendInterface::setServer()
BackendPluginBase::setServer in src/Backend/BackendPluginBase.php
Sets the server entity for this backend.

File

src/Backend/BackendInterface.php, line 39

Class

BackendInterface
Defines an interface for search backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function setServer(ServerInterface $server);