public function StreamWrapperInterface::getExternalUrl

Returns a web accessible URL for the resource.

This function should return a URL that can be embedded in a web page and accessed from a browser. For example, the external URL of "youtube://xIpLd0WQKCY" might be "http://www.youtube.com/watch?v=xIpLd0WQKCY".

Return value

string Returns a string containing a web accessible URL for the resource.

5 methods override StreamWrapperInterface::getExternalUrl()
DummyStreamWrapper::getExternalUrl in drupal/core/modules/file/tests/file_test/lib/Drupal/file_test/DummyStreamWrapper.php
Override getExternalUrl().
PrivateStream::getExternalUrl in drupal/core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
PublicStream::getExternalUrl in drupal/core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TemporaryStream::getExternalUrl in drupal/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TranslationsStream::getExternalUrl in drupal/core/modules/locale/lib/Drupal/locale/TranslationsStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().

File

drupal/core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 62
Definition of Drupal\Core\StreamWrapper\StreamWrapperInterface.

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

public function getExternalUrl();