You are here

public function BynderApiInterface::hasUploadPermissions in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::hasUploadPermissions()
  2. 8 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::hasUploadPermissions()
  3. 8.2 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 60

Class

BynderApiInterface
Provides Drupal 8 Bynder API.

Namespace

Drupal\bynder

Code

public function hasUploadPermissions();