protected function Report::getReport in Acquia Content Hub 8.2
Get report of site modules and db update status.
Return value
array Array of modules and db update status.
1 call to Report::getReport()
- Report::onHandleWebhook in src/
EventSubscriber/ HandleWebhook/ Report.php - Handles webhook events.
File
- src/
EventSubscriber/ HandleWebhook/ Report.php, line 121
Class
- Report
- Handles webhooks with a payload requesting site report.
Namespace
Drupal\acquia_contenthub\EventSubscriber\HandleWebhookCode
protected function getReport() : array {
return [
'modules' => $this->moduleList
->getAllInstalledInfo(),
'updatedb-status' => $this->common
->getUpdateDbStatus(),
];
}