You are here

public function SearchApiTestService::removeIndex in Search API 7

Implements SearchApiServiceInterface::__construct().

By default, removes all items from that index.

Overrides SearchApiAbstractService::removeIndex

File

tests/search_api_test.module, line 266
Test functions and classes for testing the Search API.

Class

SearchApiTestService
Test service class.

Code

public function removeIndex($index) {
  $this
    ->checkErrorState();
  parent::removeIndex($index);
}