public function ContentHubSearch::__construct in Acquia Content Hub 8
Constructs an ContentEntityNormalizer object.
Parameters
\Drupal\acquia_contenthub\Client\ClientManagerInterface $client_manager: The client manager.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager.
File
- src/
ContentHubSearch.php, line 58
Class
- ContentHubSearch
- Perform queries to the Content Hub "_search" endpoint [Elasticsearch].
Namespace
Drupal\acquia_contenthubCode
public function __construct(ClientManagerInterface $client_manager, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager) {
$this->clientManager = $client_manager;
$this->languageManager = $language_manager;
$this->entityTypeManager = $entity_type_manager;
}