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