You are here

public function Webhook::setStatus in Webhooks 8

Set the status.

Parameters

bool $status: New status value.

Return value

Webhook The webhook.

1 call to Webhook::setStatus()
Webhook::__construct in src/Webhook.php
Webhook constructor.

File

src/Webhook.php, line 328

Class

Webhook
Class Webhook .

Namespace

Drupal\webhooks

Code

public function setStatus($status) {
  $this->status = $status;
  return $this;
}