protected function EntityViewDisplayResourceTestBase::setUpAuthorization in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityViewDisplayResourceTestBase::setUpAuthorization()
- 9 core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityViewDisplayResourceTestBase::setUpAuthorization()
File
- core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityViewDisplayResourceTestBase.php, line 34
Class
Namespace
Drupal\FunctionalTests\RestCode
protected function setUpAuthorization($method) {
$this
->grantPermissionsToTestedRole([
'administer node display',
]);
}