public function SolrConnectorInterface::getSolrMajorVersion in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSolrMajorVersion()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSolrMajorVersion()
- 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSolrMajorVersion()
Gets the current Solr major version.
Parameters
string $version: An optional Solr version string.
Return value
int The Solr major version.
1 method overrides SolrConnectorInterface::getSolrMajorVersion()
- SolrConnectorPluginBase::getSolrMajorVersion in src/
SolrConnector/ SolrConnectorPluginBase.php - Gets the current Solr major version.
File
- src/
SolrConnectorInterface.php, line 53
Class
Namespace
Drupal\search_api_solrCode
public function getSolrMajorVersion($version = '');