function elfinder_user_roles in elFinder file manager 8.2
Same name and namespace in other branches
- 6.2 elfinder.module \elfinder_user_roles()
- 7.3 elfinder.module \elfinder_user_roles()
- 7.2 elfinder.module \elfinder_user_roles()
1 call to elfinder_user_roles()
File
- ./
elfinder.module, line 68
Code
function elfinder_user_roles() {
$user = \Drupal::currentUser();
return $user
->getRoles();
}