function ResponsiveImageStyleResourceTestBase::setUpAuthorization
Same name in other branches
- 9 core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::setUpAuthorization()
- 10 core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::setUpAuthorization()
- 11.x core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php \Drupal\Tests\responsive_image\Functional\Rest\ResponsiveImageStyleResourceTestBase::setUpAuthorization()
Overrides ResourceTestBase::setUpAuthorization
File
-
core/
modules/ responsive_image/ tests/ src/ Functional/ Rest/ ResponsiveImageStyleResourceTestBase.php, line 40
Class
- ResponsiveImageStyleResourceTestBase
- ResourceTestBase for ResponsiveImageStyle entity.
Namespace
Drupal\Tests\responsive_image\Functional\RestCode
protected function setUpAuthorization($method) {
$this->grantPermissionsToTestedRole([
'administer responsive images',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.