function ConfigurableLanguageResourceTestBase::setUpAuthorization
Same name in other branches
- 9 core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ConfigurableLanguageResourceTestBase::setUpAuthorization()
- 8.9.x core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ConfigurableLanguageResourceTestBase::setUpAuthorization()
- 11.x core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ConfigurableLanguageResourceTestBase::setUpAuthorization()
Overrides ResourceTestBase::setUpAuthorization
1 call to ConfigurableLanguageResourceTestBase::setUpAuthorization()
- ConfigurableLanguageResourceTestBase::testGetDefaultConfig in core/
modules/ language/ tests/ src/ Functional/ Rest/ ConfigurableLanguageResourceTestBase.php - Tests a GET request for a default config entity, which has a _core key.
File
-
core/
modules/ language/ tests/ src/ Functional/ Rest/ ConfigurableLanguageResourceTestBase.php, line 32
Class
Namespace
Drupal\Tests\language\Functional\RestCode
protected function setUpAuthorization($method) {
$this->grantPermissionsToTestedRole([
'administer languages',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.