public static function GetFile::getSubscribedEvents in Acquia Content Hub 8.2
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ HandleWebhook/ GetFile.php, line 51
Class
- GetFile
- Gets files during preview in content as a service.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhookCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::HANDLE_WEBHOOK][] = [
'onHandleWebhook',
1000,
];
return $events;
}