public function SearchApiAlgoliaBackend::getAlgolia in Search API Algolia 8
Same name and namespace in other branches
- 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getAlgolia()
- 2.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getAlgolia()
Returns the AlgoliaSearch client.
Return value
\AlgoliaSearch\Client The algolia instance object.
1 call to SearchApiAlgoliaBackend::getAlgolia()
- SearchApiAlgoliaBackend::connect in src/
Plugin/ search_api/ backend/ SearchApiAlgoliaBackend.php - Creates a connection to the Algolia Search server as configured.
File
- src/
Plugin/ search_api/ backend/ SearchApiAlgoliaBackend.php, line 587
Class
- SearchApiAlgoliaBackend
- Class SearchApiAlgoliaBackend.
Namespace
Drupal\search_api_algolia\Plugin\search_api\backendCode
public function getAlgolia() {
return $this->algoliaClient;
}