You are here

public function SearchApiAlgoliaBackend::defaultConfiguration in Search API Algolia 2.0.x

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

File

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

Class

SearchApiAlgoliaBackend
Class SearchApiAlgoliaBackend.

Namespace

Drupal\search_api_algolia\Plugin\search_api\backend

Code

public function defaultConfiguration() {
  return [
    'application_id' => '',
    'api_key' => '',
    'disable_truncate' => FALSE,
  ];
}