public function ImceFolder::getConf in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImceFolder.php \Drupal\imce\ImceFolder::getConf()
Returns folder configuration.
1 call to ImceFolder::getConf()
- ImceFolder::getPermission in src/
ImceFolder.php - Returns a permission value.
File
- src/
ImceFolder.php, line 66
Class
- ImceFolder
- Imce Folder.
Namespace
Drupal\imceCode
public function getConf() {
if (isset($this->conf)) {
return $this->conf;
}
// Inherit parent conf.
if ($parent = $this->parent) {
if ($conf = $parent
->getConf()) {
if (Imce::permissionInFolderConf('browse_subfolders', $conf)) {
return $conf + [
'inherited' => TRUE,
];
}
}
}
}