public static function Report::getSubscribedEvents in Acquia Content Hub 8.2
File
- src/
EventSubscriber/ HandleWebhook/ Report.php, line 60
Class
- Report
- Handles webhooks with a payload requesting site report.
Namespace
Drupal\acquia_contenthub\EventSubscriber\HandleWebhookCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::HANDLE_WEBHOOK][] = [
'onHandleWebhook',
1000,
];
return $events;
}