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