public function Webhook::setUuid in Webhooks 8
Set the unique id.
Parameters
string $uuid: A uuid string.
Return value
Webhook The webhook.
1 call to Webhook::setUuid()
- Webhook::__construct in src/
Webhook.php - Webhook constructor.
File
- src/
Webhook.php, line 202
Class
- Webhook
- Class Webhook .
Namespace
Drupal\webhooksCode
public function setUuid($uuid) {
$this->uuid = $uuid;
$this
->addHeaders([
'X-Drupal-Delivery' => $uuid,
]);
return $this;
}