You are here

public function TestBackend::defaultConfiguration in Search API 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginBase::defaultConfiguration

File

tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php, line 103

Class

TestBackend
Provides a dummy backend for testing purposes.

Namespace

Drupal\search_api_test\Plugin\search_api\backend

Code

public function defaultConfiguration() {
  return [
    'test' => '',
  ];
}