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