You are here

public function BasicAuthTrait::defaultConfiguration in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/SolrConnector/BasicAuthTrait.php \Drupal\search_api_solr\SolrConnector\BasicAuthTrait::defaultConfiguration()
  2. 4.x src/SolrConnector/BasicAuthTrait.php \Drupal\search_api_solr\SolrConnector\BasicAuthTrait::defaultConfiguration()

File

src/SolrConnector/BasicAuthTrait.php, line 18

Class

BasicAuthTrait
Basic auth functionality for a Solr connector.

Namespace

Drupal\search_api_solr\SolrConnector

Code

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