static function MediaReadOnlyStreamWrapper::getMimeType in D7 Media 7
Same name and namespace in other branches
- 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::getMimeType()
- 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::getMimeType()
- 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::getMimeType()
Base implementation of getMimeType().
Overrides DrupalStreamWrapperInterface::getMimeType
File
- includes/
MediaReadOnlyStreamWrapper.inc, line 88
Class
- MediaReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
static function getMimeType($uri, $mapping = NULL) {
return 'application/octet-stream';
}