public function SyncHealth::__construct in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 modules/cms_content_sync_health/src/Controller/SyncHealth.php \Drupal\cms_content_sync_health\Controller\SyncHealth::__construct()
- 2.0.x modules/cms_content_sync_health/src/Controller/SyncHealth.php \Drupal\cms_content_sync_health\Controller\SyncHealth::__construct()
Constructs a \Drupal\cms_content_sync_health\Controller\SyncHealth object.
Parameters
\Drupal\Core\Database\Connection $database:
\Drupal\Core\Extension\ModuleHandler $moduleHandler:
\Drupal\Core\Config\ConfigFactory $configFactory:
\Drupal\Core\Datetime\DateFormatter $dateFormatter:
\GuzzleHttp\Client $httpClient:
\Drupal\Core\Messenger\MessengerInterface $messenger:
\Drupal\Core\Entity\EntityTypeManager $entityTypeManager:
File
- modules/
cms_content_sync_health/ src/ Controller/ SyncHealth.php, line 91
Class
- SyncHealth
- Provides a listing of Flow.
Namespace
Drupal\cms_content_sync_health\ControllerCode
public function __construct(Connection $database, ModuleHandler $moduleHandler, ConfigFactory $configFactory, DateFormatter $dateFormatter, Client $httpClient, MessengerInterface $messenger, EntityTypeManager $entityTypeManager) {
$this->database = $database;
$this->moduleHandler = $moduleHandler;
$this->configFactory = $configFactory;
$this->dateFormatter = $dateFormatter;
$this->httpClient = $httpClient;
$this->messenger = $messenger;
$this->entityTypeManager = $entityTypeManager;
}