You are here

public function ServerInterface::deleteAllItems in Search API 8

Deletes all items on this server, except those from read-only indexes.

Throws

\Drupal\search_api\SearchApiException Thrown if an error occurred while trying to delete the items.

1 method overrides ServerInterface::deleteAllItems()
Server::deleteAllItems in src/Entity/Server.php
Deletes all items on this server, except those from read-only indexes.

File

src/ServerInterface.php, line 94

Class

ServerInterface
Defines the interface for server entities.

Namespace

Drupal\search_api

Code

public function deleteAllItems();