You are here

public function TestBackend::postUpdate in Search API 8

Notifies the backend that its configuration was updated.

The server's $original property can be used to inspect the old configuration values.

Return value

bool TRUE, if the update requires reindexing of all content on the server.

Overrides BackendPluginBase::postUpdate

File

tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php, line 55

Class

TestBackend
Provides a dummy backend for testing purposes.

Namespace

Drupal\search_api_test\Plugin\search_api\backend

Code

public function postUpdate() {
  if ($override = $this
    ->getMethodOverride(__FUNCTION__)) {
    return call_user_func($override, $this);
  }
  $this
    ->checkError(__FUNCTION__);
  return $this
    ->getReturnValue(__FUNCTION__, FALSE);
}