You are here

public function WebhookConfigInterface::getContentType in Webhooks 8

Get the content type.

Return value

string The content type string, eg. json, xml

1 method overrides WebhookConfigInterface::getContentType()
WebhookConfig::getContentType in src/Entity/WebhookConfig.php
Get the content type.

File

src/Entity/WebhookConfigInterface.php, line 50

Class

WebhookConfigInterface
Provides an interface for defining Webhook entities.

Namespace

Drupal\webhooks\Entity

Code

public function getContentType();