public function Basic::setDatabaseConnection in Search API 8
Sets the database connection.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection to use.
Return value
$this
File
- src/
Plugin/ search_api/ tracker/ Basic.php, line 84
Class
- Basic
- Provides a tracker implementation which uses a FIFO-like processing order.
Namespace
Drupal\search_api\Plugin\search_api\trackerCode
public function setDatabaseConnection(Connection $connection) {
$this->connection = $connection;
return $this;
}