function ContactFormResourceTestBase::getExpectedUnauthorizedAccessMessage
Same name in other branches
- 9 core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::getExpectedUnauthorizedAccessMessage()
- 8.9.x core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::getExpectedUnauthorizedAccessMessage()
- 10 core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::getExpectedUnauthorizedAccessMessage()
Overrides EntityResourceTestBase::getExpectedUnauthorizedAccessMessage
File
-
core/
modules/ contact/ tests/ src/ Functional/ Rest/ ContactFormResourceTestBase.php, line 96
Class
Namespace
Drupal\Tests\contact\Functional\RestCode
protected function getExpectedUnauthorizedAccessMessage($method) {
return "The 'access site-wide contact form' permission is required.";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.