You are here

public function Webhook::getTitle in Webhooks 8

Gets the webhook title.

Return value

string Title of the webhook.

Overrides WebhookInterface::getTitle

File

modules/webhook/src/Entity/Webhook.php, line 51

Class

Webhook
Defines the webhook entity class.

Namespace

Drupal\webhook\Entity

Code

public function getTitle() {
  return $this
    ->get('title')->value;
}