You are here

public function ImceFM::getFolder in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImceFM.php \Drupal\imce\ImceFM::getFolder()

Get folder.

Parameters

string $path: The patchs folder.

Return value

mixed Returns a folder from the tree.

2 calls to ImceFM::getFolder()
ImceFM::addFolder in src/ImceFM.php
Adds a folder to the tree.
ImceFM::validatePermissions in src/ImceFM.php
Checks parent folder permissions of the given items.

File

src/ImceFM.php, line 257

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function getFolder($path) {
  return isset($this->tree[$path]) ? $this->tree[$path] : NULL;
}