You are here

public function BackendInterface::preDelete in Search API 8

Notifies the backend that the server is about to be deleted.

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.

1 method overrides BackendInterface::preDelete()
BackendPluginBase::preDelete in src/Backend/BackendPluginBase.php
Notifies the backend that the server is about to be deleted.

File

src/Backend/BackendInterface.php, line 84

Class

BackendInterface
Defines an interface for search backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function preDelete();