You are here

public function SearchApiDummyService::preDelete in Search API 7

Notifies this server that it is about to be deleted from the database.

This should execute any necessary cleanup operations.

Note that you shouldn't call the server's save() method, or any methods that might do that, from inside of this method as the server isn't present in the database anymore at this point.

Overrides SearchApiServiceInterface::preDelete

File

tests/search_api_test_2.module, line 92
Provides a second test service and server for testing Search API.

Class

SearchApiDummyService
Dummy service for testing.

Code

public function preDelete() {
}