You are here

public static function SolrCache::getAvailableEnvironments in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/Entity/SolrCache.php \Drupal\search_api_solr\Entity\SolrCache::getAvailableEnvironments()

Get all available environments.

Return value

string[] An array of environments as strings.

1 call to SolrCache::getAvailableEnvironments()
Utility::getAvailableEnvironments in src/Utility/Utility.php
Get all available environments.

File

src/Entity/SolrCache.php, line 91

Class

SolrCache
Defines the SolrCache entity.

Namespace

Drupal\search_api_solr\Entity

Code

public static function getAvailableEnvironments() {
  return parent::getAvailableOptions('environments', 'default', 'search_api_solr.solr_cache.');
}