You are here

public function WebhookConfig::getContentType in Webhooks 8

Get the content type.

Return value

string The content type string, e.g. 'application/json', 'application/xml'.

Overrides WebhookConfigInterface::getContentType

File

src/Entity/WebhookConfig.php, line 222

Class

WebhookConfig
Defines the Webhook entity.

Namespace

Drupal\webhooks\Entity

Code

public function getContentType() {
  return $this->content_type;
}