You are here

public static function SearchApiSolrAcquiaMultiSubsBackend::create in Acquia Search Multiple Indexes 8

File

src/Plugin/search_api/backend/SearchApiSolrAcquiaMultiSubsBackend.php, line 79

Class

SearchApiSolrAcquiaMultiSubsBackend
Plugin annotation @SearchApiBackend( id = "search_api_solr_acquia_multi_subs", label = @Translation("Acquia Solr Multi Sub"), description = @Translation("Index items using a specific Acquia Apache Solr search server.") )

Namespace

Drupal\acquia_search_multi_subs\Plugin\search_api\backend

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('module_handler'), $container
    ->get('config.factory')
    ->get('search_api_solr.settings'), $container
    ->get('language_manager'));
}