public function AcquiaContentHubUnregisterEvent::__construct in Acquia Content Hub 8.2
AcquiaContentHubUnregisterEvent constructor.
Parameters
string $webhook_uuid: Webhook uuid.
string $client_uuid: Client uuid. SHOULD BE ONLY PASSED IF WE DO AN OPERATION ON A DIFFERENT SITE, NOT ON THE CURRENT. Otherwise we get it from settings.
bool $delete_webhook_only: Pass TRUE if we delete only webhook.
File
- src/
Event/ AcquiaContentHubUnregisterEvent.php, line 89
Class
- AcquiaContentHubUnregisterEvent
- Event dispatched on webhook deletion.
Namespace
Drupal\acquia_contenthub\EventCode
public function __construct(string $webhook_uuid, string $client_uuid = '', bool $delete_webhook_only = FALSE) {
$this->webhookUuid = $webhook_uuid;
$this->originUuid = $client_uuid;
$this->deleteWebhookOnly = $delete_webhook_only;
}