protected function SearchApiAlgoliaBackend::setAlgoliaIndex in Search API Algolia 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setAlgoliaIndex()
- 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setAlgoliaIndex()
Set the Algolia index.
1 call to SearchApiAlgoliaBackend::setAlgoliaIndex()
- 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 664
Class
- SearchApiAlgoliaBackend
- Class SearchApiAlgoliaBackend.
Namespace
Drupal\search_api_algolia\Plugin\search_api\backendCode
protected function setAlgoliaIndex($index) {
$this->algoliaIndex = $index;
}