public function Webhook::getMimeType in Webhooks 8
Get the content type.
Return value
string The content type string.
File
- src/
Webhook.php, line 254
Class
- Webhook
- Class Webhook .
Namespace
Drupal\webhooksCode
public function getMimeType() {
return explode('/', $this->contentType)[0];
}