function ResourceReadOnlyStreamWrapper::mime in D7 Media 6
Return the mime type of a resource.
Parameters
$url: Stream wrapper resource url.
Return value
string
Overrides ResourceStreamWrapperInterface::mime
File
- resource/
ResourceReadOnlyStreamWrapper.inc, line 26
Class
- ResourceReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
function mime($url) {
return 'application/octet-stream';
}