You are here

public function BasicAuthSolrConnector::defaultConfiguration in Search API Solr 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides SolrConnectorPluginBase::defaultConfiguration

File

src/Plugin/SolrConnector/BasicAuthSolrConnector.php, line 24

Class

BasicAuthSolrConnector
Standard Solr connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'username' => '',
    'password' => '',
  ];
}