public static function Imce::userFM in IMCE 8
Same name and namespace in other branches
- 8.2 src/Imce.php \Drupal\imce\Imce::userFM()
2 calls to Imce::userFM()
- Imce::accessFilePaths in src/
Imce.php - Checks if the selected file paths are accessible by a user with Imce.
- KernelTestBasePlugin::getImceFM in tests/
src/ Kernel/ Plugin/ KernelTestBasePlugin.php - The Imce file manager.
File
- src/
Imce.php, line 33
Class
- Imce
- Imce container class for helper methods.
Namespace
Drupal\imceCode
public static function userFM(AccountProxyInterface $user = NULL, $scheme = NULL, Request $request = NULL) {
if ($conf = static::userConf($user, $scheme)) {
return new ImceFM($conf, $user, $request);
}
}