You are here

protected function SearchApiSolrMultilingualTest::installConfigs in Search API Solr 8.2

Called by setUp() to install required configs.

Overrides SearchApiSolrTest::installConfigs

File

tests/src/Kernel/SearchApiSolrMultilingualTest.php, line 55

Class

SearchApiSolrMultilingualTest
Tests index and search capabilities using the Solr search backend.

Namespace

Drupal\Tests\search_api_solr\Kernel

Code

protected function installConfigs() {
  foreach ($this->language_ids as $language_id) {
    ConfigurableLanguage::createFromLangcode($language_id)
      ->save();
  }
  $this
    ->installConfig([
    'search_api_solr_multilingual_test',
  ]);
  parent::installConfigs();
}