You are here

static function MediaReadOnlyStreamWrapper::getMimeType in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::getMimeType()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::getMimeType()
  3. 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';
}