function ResponsiveImageStyleResourceTestBase::getExpectedUnauthorizedAccessMessage

Same name in other branches
  1. 9 core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::getExpectedUnauthorizedAccessMessage()
  2. 8.9.x core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::getExpectedUnauthorizedAccessMessage()
  3. 10 core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::getExpectedUnauthorizedAccessMessage()

Overrides EntityResourceTestBase::getExpectedUnauthorizedAccessMessage

File

core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php, line 128

Class

ResponsiveImageStyleResourceTestBase
ResourceTestBase for ResponsiveImageStyle entity.

Namespace

Drupal\Tests\responsive_image\Functional\Rest

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
    return "The 'administer responsive images' permission is required.";
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.