You are here

public static function SolrRequestDispatcher::getAvailableEnvironments in Search API Solr 4.x

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

Get all available environments.

Return value

string[] An array of environments as strings.

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

File

src/Entity/SolrRequestDispatcher.php, line 98

Class

SolrRequestDispatcher
Defines the SolrRequestDispatcher entity.

Namespace

Drupal\search_api_solr\Entity

Code

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