You are here

public function ServerStatusForm::setServerTaskManager in Search API 8

Sets the server task manager.

Parameters

\Drupal\search_api\Task\ServerTaskManagerInterface $server_task_manager: The new server task manager.

Return value

$this

File

src/Form/ServerStatusForm.php, line 53

Class

ServerStatusForm
Provides a form for performing common actions on a server.

Namespace

Drupal\search_api\Form

Code

public function setServerTaskManager(ServerTaskManagerInterface $server_task_manager) {
  $this->serverTaskManager = $server_task_manager;
  return $this;
}