You are here

protected function SearchApiAlgoliaBackend::getApiKey in Search API Algolia 8

Same name and namespace in other branches
  1. 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getApiKey()
  2. 2.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getApiKey()

Get the API key (provided by Algolia).

4 calls to SearchApiAlgoliaBackend::getApiKey()
SearchApiAlgoliaBackend::buildConfigurationForm in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Form constructor.
SearchApiAlgoliaBackend::connect in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Creates a connection to the Algolia Search server as configured.
SearchApiAlgoliaBackend::listIndexes in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Retrieves the list of available Algolia indexes.
SearchApiAlgoliaBackend::viewSettings in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Returns additional, backend-specific information about this server.

File

src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php, line 618

Class

SearchApiAlgoliaBackend
Class SearchApiAlgoliaBackend.

Namespace

Drupal\search_api_algolia\Plugin\search_api\backend

Code

protected function getApiKey() {
  return $this->configuration['api_key'];
}