You are here

public function BynderApiTest::hasUploadPermissions in Bynder 8.3

Same name and namespace in other branches
  1. 8 tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::hasUploadPermissions()
  2. 8.2 tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::hasUploadPermissions()
  3. 4.0.x tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::hasUploadPermissions()

Simulate upload permissions check.

Overrides BynderApi::hasUploadPermissions

File

tests/modules/bynder_test_module/src/BynderApiTest.php, line 178

Class

BynderApiTest
Bynder API test service.

Namespace

Drupal\bynder_test_module

Code

public function hasUploadPermissions() {
  return 'MEDIAUPLOAD';
}