You are here

protected function Database::setDbmsCompatibilityHandler in Search API 8

Sets the DBMS compatibility handler.

Parameters

\Drupal\search_api_db\DatabaseCompatibility\DatabaseCompatibilityHandlerInterface $handler: The DBMS compatibility handler.

Return value

$this

File

modules/search_api_db/src/Plugin/search_api/backend/Database.php, line 425

Class

Database
Indexes and searches items using the database.

Namespace

Drupal\search_api_db\Plugin\search_api\backend

Code

protected function setDbmsCompatibilityHandler(DatabaseCompatibilityHandlerInterface $handler) {
  $this->dbmsCompatibility = $handler;
  return $this;
}