You are here

public function Webhook::getMimeSubType in Webhooks 8

Get the content type.

Return value

string The content type string.

File

src/Webhook.php, line 264

Class

Webhook
Class Webhook .

Namespace

Drupal\webhooks

Code

public function getMimeSubType() {
  return explode('/', $this->contentType)[1];
}