public static function SearchApiSolrAcquiaConnector::create in Acquia Search 2.x
Same name and namespace in other branches
- 3.x src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php \Drupal\acquia_search\Plugin\SolrConnector\SearchApiSolrAcquiaConnector::create()
File
- src/
Plugin/ SolrConnector/ SearchApiSolrAcquiaConnector.php, line 39
Class
- SearchApiSolrAcquiaConnector
- Acquia Search Plugin for Search API Solr.
Namespace
Drupal\acquia_search\Plugin\SolrConnectorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
$plugin = parent::create($container, $configuration, $plugin_id, $plugin_definition);
$plugin->searchSubscriber = $container
->get('acquia_search.search_subscriber');
return $plugin;
}