You are here

public function TaskInterface::getServerId in Search API 8

Retrieves the ID of the search server associated with this task, if any.

Return value

string|null The search server ID, or NULL if there is none.

1 method overrides TaskInterface::getServerId()
Task::getServerId in src/Entity/Task.php
Retrieves the ID of the search server associated with this task, if any.

File

src/Task/TaskInterface.php, line 27

Class

TaskInterface
Defines an interface for a Search API task.

Namespace

Drupal\search_api\Task

Code

public function getServerId();