1 stream_wrappers.inc | public BackdropLocalStreamWrapper::unlink($uri) |
Support for unlink().
Parameters
$uri: A string containing the URI to the resource to delete.
Return value
TRUE if resource was successfully deleted.:
Overrides StreamWrapperInterface::unlink
See also
http://php.net/manual/streamwrapper.unlink.php
File
- core/
includes/ stream_wrappers.inc, line 715 - Backdrop stream wrapper interface.
Class
- BackdropLocalStreamWrapper
- Backdrop stream wrapper base class for local files.
Code
public function unlink($uri) {
$this->uri = $uri;
return backdrop_unlink($this->getLocalPath());
}