public function TestBackend::postInsert in Search API 8
Reacts to the server's creation.
Called once, when the server is first created. Allows the backend class to set up its necessary infrastructure.
Overrides BackendPluginBase::postInsert
File
- tests/
search_api_test/ src/ Plugin/ search_api/ backend/ TestBackend.php, line 33
Class
- TestBackend
- Provides a dummy backend for testing purposes.
Namespace
Drupal\search_api_test\Plugin\search_api\backendCode
public function postInsert() {
if ($override = $this
->getMethodOverride(__FUNCTION__)) {
call_user_func($override, $this);
return;
}
$this
->checkError(__FUNCTION__);
}