public function SolrRequestDispatcher::getEnvironments in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Entity/SolrRequestDispatcher.php \Drupal\search_api_solr\Entity\SolrRequestDispatcher::getEnvironments()
Gets the environments targeted by this Solr RequestDispatcher.
Return value
string[] Environments.
Overrides SolrRequestDispatcherInterface::getEnvironments
1 call to SolrRequestDispatcher::getEnvironments()
- SolrRequestDispatcher::getOptions in src/
Entity/ SolrRequestDispatcher.php
File
- src/
Entity/ SolrRequestDispatcher.php, line 81
Class
- SolrRequestDispatcher
- Defines the SolrRequestDispatcher entity.
Namespace
Drupal\search_api_solr\EntityCode
public function getEnvironments() {
return empty($this->environments) ? [
'default',
] : $this->environments;
}