You are here

public function ResourceStreamWrapper::unlink in D7 Media 6

Support for unlink().

Parameters

$url: A string containing the url to the resource to delete.

Return value

TRUE if resource was successfully deleted.

Overrides StreamWrapperInterface::unlink

File

resource/ResourceStreamWrapper.inc, line 221

Class

ResourceStreamWrapper
A base class for Resource Stream Wrappers.

Code

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