You are here

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

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

Get all available environments.

Return value

string[] An array of environments as strings.

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

File

src/Entity/SolrRequestHandler.php, line 100

Class

SolrRequestHandler
Defines the SolrRequestHandler entity.

Namespace

Drupal\search_api_solr\Entity

Code

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