public function BasicAuthTestSolrCloudConnector::executeRequest in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/modules/search_api_solr_test/src/Plugin/SolrConnector/BasicAuthTestSolrCloudConnector.php \Drupal\search_api_solr_test\Plugin\SolrConnector\BasicAuthTestSolrCloudConnector::executeRequest()
Executes a request and returns the response.
Parameters
\Solarium\Core\Client\Request $request: The Solarium request object.
\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.
Return value
\Solarium\Core\Client\Response The Solarium response object.
Throws
\Drupal\search_api_solr\SearchApiSolrException
Overrides SolrConnectorPluginBase::executeRequest
File
- tests/
modules/ search_api_solr_test/ src/ Plugin/ SolrConnector/ BasicAuthTestSolrCloudConnector.php, line 62
Class
- BasicAuthTestSolrCloudConnector
- Basic auth Solr test connector.
Namespace
Drupal\search_api_solr_test\Plugin\SolrConnectorCode
public function executeRequest(Request $request, Endpoint $endpoint = NULL) {
self::$request = $request;
if ($this->intercept) {
return new Response('');
}
return parent::executeRequest($request, $endpoint);
}