You are here

public static function DeleteAssets::getSubscribedEvents in Acquia Content Hub 8.2

File

modules/acquia_contenthub_subscriber/src/EventSubscriber/HandleWebhook/DeleteAssets.php, line 48

Class

DeleteAssets
Deletes assets based on a webhook.

Namespace

Drupal\acquia_contenthub_subscriber\EventSubscriber\HandleWebhook

Code

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