public static function RegisterWebhook::getSubscribedEvents in Acquia Content Hub 8.2
File
- src/
EventSubscriber/ HandleWebhook/ RegisterWebhook.php, line 44
Class
- RegisterWebhook
- Responsible for handling site registration webhook responses.
Namespace
Drupal\acquia_contenthub\EventSubscriber\HandleWebhookCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::HANDLE_WEBHOOK][] = 'onHandleWebhook';
return $events;
}