You are here

public function OEmbedStreamWrapper::unlink in oEmbed 7

Same name and namespace in other branches
  1. 7.0 OEmbedStreamWrapper.inc \OEmbedStreamWrapper::unlink()

Implements DrupalStreamWrapperInterface::unlink().

Overrides StreamWrapperInterface::unlink

File

./OEmbedStreamWrapper.inc, line 375
Create a oEmbed Stream Wrapper class.

Class

OEmbedStreamWrapper
@file Create a oEmbed Stream Wrapper class.

Code

public function unlink($uri) {

  // Although the remote file itself can't be deleted, return TRUE so that
  // file_delete() can remove the file record from the Drupal database.
  return TRUE;
}