public function SearchApiSolrCommands::__construct in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Commands/SearchApiSolrCommands.php \Drupal\search_api_solr\Commands\SearchApiSolrCommands::__construct()
- 4.x src/Commands/SearchApiSolrCommands.php \Drupal\search_api_solr\Commands\SearchApiSolrCommands::__construct()
Constructs a SearchApiCommands object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
- src/
Commands/ SearchApiSolrCommands.php, line 28
Class
- SearchApiSolrCommands
- Defines Drush commands for the Search API Solr.
Namespace
Drupal\search_api_solr\CommandsCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->commandHelper = new CommandHelper($entityTypeManager);
}