You are here

public function BynderApiInterface::hasUploadPermissions in Bynder 8.2

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. 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\bynder

Code

public function hasUploadPermissions();