You are here

public function Missing::getExternalUrl in Flysystem 7

Same name and namespace in other branches
  1. 8 src/Flysystem/Missing.php \Drupal\flysystem\Flysystem\Missing::getExternalUrl()
  2. 3.x src/Flysystem/Missing.php \Drupal\flysystem\Flysystem\Missing::getExternalUrl()
  3. 2.0.x src/Flysystem/Missing.php \Drupal\flysystem\Flysystem\Missing::getExternalUrl()
  4. 3.0.x src/Flysystem/Missing.php \Drupal\flysystem\Flysystem\Missing::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".

Parameters

string $uri: The URI to provide a URL for.

Return value

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

Overrides FlysystemPluginBase::getExternalUrl

File

src/Flysystem/Missing.php, line 28
Contains \Drupal\flysystem\Flysystem\Missing.

Class

Missing
Drupal plugin for the "MissingAdapter" Flysystem adapter.

Namespace

Drupal\flysystem\Flysystem

Code

public function getExternalUrl($uri) {
  return '';
}