You are here

public function Missing::getExternalUrl in Flysystem 8

Same name and namespace in other branches
  1. 7 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 FlysystemPluginInterface::getExternalUrl

File

src/Flysystem/Missing.php, line 26

Class

Missing
Drupal plugin for the "NullAdapter" Flysystem adapter.

Namespace

Drupal\flysystem\Flysystem

Code

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