public static function SolrRequestHandler::getAvailableEnvironments in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 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\EntityCode
public static function getAvailableEnvironments() {
return parent::getAvailableOptions('environments', 'default', 'search_api_solr.solr_request_handler.');
}