public function StatusReportController::__construct in Acquia Content Hub 8.2
StatusReportController constructor.
Parameters
\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: The client factory.
\Drupal\Core\Pager\PagerManagerInterface $pager_manager: The pager manager.
File
- modules/
acquia_contenthub_publisher/ src/ Controller/ StatusReportController.php, line 49
Class
- StatusReportController
- Controller for Status Reports.
Namespace
Drupal\acquia_contenthub_publisher\ControllerCode
public function __construct(ClientFactory $client_factory, PagerManagerInterface $pager_manager = NULL) {
$this->client = $client_factory
->getClient();
$this->pagerManager = $pager_manager;
}