public function ContentHubReindex::__construct in Acquia Content Hub 8
Public Constructor.
Parameters
\Drupal\acquia_contenthub\ContentHubEntitiesTracking $contenthub_entities_tracking: The table where all entities are tracked.
\Drupal\acquia_contenthub\Client\ClientManagerInterface $client_manager: The client manager.
\Drupal\Core\State\StateInterface $state_service: Drupal state service.
File
- src/
Controller/ ContentHubReindex.php, line 62
Class
- ContentHubReindex
- Class for reindexing Content Hub content.
Namespace
Drupal\acquia_contenthub\ControllerCode
public function __construct(ContentHubEntitiesTracking $contenthub_entities_tracking, ClientManagerInterface $client_manager, StateInterface $state_service) {
$this->clientManager = $client_manager;
$this->contentHubEntitiesTracking = $contenthub_entities_tracking;
$this->state = $state_service;
}