public function ImceController::checkAccess in IMCE 8
Same name and namespace in other branches
- 8.2 src/Controller/ImceController.php \Drupal\imce\Controller\ImceController::checkAccess()
Checks access to /imce/{scheme} path.
1 string reference to 'ImceController::checkAccess'
File
- src/
Controller/ ImceController.php, line 41
Class
- ImceController
- Controller routines for imce routes.
Namespace
Drupal\imce\ControllerCode
public function checkAccess($scheme) {
return AccessResult::allowedIf(Imce::access($this
->currentUser(), $scheme));
}