function TourResourceTestBase::getExpectedUnauthorizedAccessMessage
Same name in other branches
- 8.9.x core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php \Drupal\Tests\tour\Functional\Rest\TourResourceTestBase::getExpectedUnauthorizedAccessMessage()
- 10 core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php \Drupal\Tests\tour\Functional\Rest\TourResourceTestBase::getExpectedUnauthorizedAccessMessage()
- 11.x core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php \Drupal\Tests\tour\Functional\Rest\TourResourceTestBase::getExpectedUnauthorizedAccessMessage()
Overrides EntityResourceTestBase::getExpectedUnauthorizedAccessMessage
File
-
core/
modules/ tour/ tests/ src/ Functional/ Rest/ TourResourceTestBase.php, line 112
Class
Namespace
Drupal\Tests\tour\Functional\RestCode
protected function getExpectedUnauthorizedAccessMessage($method) {
return "The following permissions are required: 'access tour' OR 'administer site configuration'.";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.