You are here

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\HandleWebhook

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::HANDLE_WEBHOOK][] = 'onHandleWebhook';
  return $events;
}