You are here

function ResourceStreamWrapperInterface::mime in D7 Media 6

Return the mime type of a resource.

Parameters

$url: Stream wrapper resource url.

Return value

string

2 methods override ResourceStreamWrapperInterface::mime()
ResourceReadOnlyStreamWrapper::mime in resource/ResourceReadOnlyStreamWrapper.inc
Return the mime type of a resource.
ResourceStreamWrapper::mime in resource/ResourceStreamWrapper.inc
Return the mime type of a resource.

File

resource/ResourceStreamWrapper.inc, line 52

Class

ResourceStreamWrapperInterface
Definition for a Resource stream wrapper in Drupal. Extends the StreamWrapperInterface with methods expected by the Drupal Resource Classes.

Code

function mime($url);