public function AuthcacheP13nJSONContent::contentType in Authenticated User Page Caching (Authcache) 7.2
Return an appropriate internet media type string.
Return the internet media type string identifying the output produced by the encoding function.
Overrides AuthcacheP13nContentEncoderInterface::contentType
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nJSONContent.inc, line 14 - Define content encoder for JSON.
Class
- AuthcacheP13nJSONContent
- JSON content encoder.
Code
public function contentType() {
return 'text/javascript';
}