You are here

public static function SearchApiSolrAcquiaConnector::create in Acquia Connector 8

File

acquia_search/src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php, line 41

Class

SearchApiSolrAcquiaConnector
Acquia Search Plugin for Search API Solr.

Namespace

Drupal\acquia_search\Plugin\SolrConnector

Code

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;
}