You are here

public function Asset::getUri in Mini site 8

Get asset URI.

Return value

string The asset URI within the file system.

Overrides AssetInterface::getUri

3 calls to Asset::getUri()
Asset::save in src/Asset.php
Save asset to the database.
Asset::setMimeType in src/Asset.php
Set mime type.
Asset::setSize in src/Asset.php
Set asset size.

File

src/Asset.php, line 370

Class

Asset
Class Asset.

Namespace

Drupal\minisite

Code

public function getUri() {
  return $this->urlBag
    ->getUri();
}