You are here

public function ImceFM::hasPermission in IMCE 8

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

Checks if a permission exists in any of the predefined folders.

File

src/ImceFM.php, line 348

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function hasPermission($permission) {
  return Imce::permissionInConf($permission, $this->conf);
}