You are here

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

File

modules/acquia_contenthub_publisher/src/EventSubscriber/HandleWebhook/ReExport.php, line 61

Class

ReExport
Re-exports an entity and all its dependencies on a webhook request.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook

Code

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