public function BynderApiInterface::hasUploadPermissions in Bynder 8.2
Same name and namespace in other branches
- 8.3 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::hasUploadPermissions()
- 8 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::hasUploadPermissions()
- 4.0.x src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::hasUploadPermissions()
Checks if the current user has upload permissions.
Return value
string|false Name of the user's upload role if uploads are allowed and FALSE otherwise.
1 method overrides BynderApiInterface::hasUploadPermissions()
- BynderApi::hasUploadPermissions in src/
BynderApi.php - Checks if the current user has upload permissions.
File
- src/
BynderApiInterface.php, line 62
Class
- BynderApiInterface
- Provides Drupal 8 Bynder API.
Namespace
Drupal\bynderCode
public function hasUploadPermissions();