You are here

function ResourceReadOnlyStreamWrapper::htmlUrl in D7 Media 6

Return the html accessible URL for a resource.

Parameters

$url: Stream wrapper resource url.

Return value

string

Overrides ResourceStreamWrapperInterface::htmlUrl

File

resource/ResourceReadOnlyStreamWrapper.inc, line 22

Class

ResourceReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

function htmlUrl($url) {
  return $this
    ->interpolateUrl($url);
}