You are here

public function ImceItem::getUri in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/ImceItem.php \Drupal\imce\ImceItem::getUri()

Returns the item uri.

1 call to ImceItem::getUri()
ImceFolder::scan in src/ImceFolder.php
Scans folder content.

File

src/ImceItem.php, line 94

Class

ImceItem
Imce Item.

Namespace

Drupal\imce

Code

public function getUri() {
  $path = $this
    ->getPath();
  if (isset($path)) {
    return $this
      ->fm()
      ->createUri($path);
  }
}