public function GenericDatabase::getDatabase in Search API 8
Retrieves the database connection this compatibility handler is based upon.
Return value
\Drupal\Core\Database\Connection The database connection.
Overrides DatabaseCompatibilityHandlerInterface::getDatabase
File
- modules/
search_api_db/ src/ DatabaseCompatibility/ GenericDatabase.php, line 44
Class
- GenericDatabase
- Represents any database for which no specifics are known.
Namespace
Drupal\search_api_db\DatabaseCompatibilityCode
public function getDatabase() {
return $this->database;
}