public LocalStream::unlink($uri)
Support for unlink().
Parameters
string $uri: A string containing the URI to the resource to delete.
Return value
bool TRUE if resource was successfully deleted.
Overrides PhpStreamWrapperInterface::unlink
See also
http://php.net/manual/streamwrapper.unlink.php
File
- core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 375
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapper
Code
public function unlink($uri) { $this->uri = $uri; return drupal_unlink($this->getLocalPath()); }
Please login to continue.