You are here

protected function EntityFormDisplayResourceTestBase::getExpectedUnauthorizedAccessMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormDisplayResourceTestBase::getExpectedUnauthorizedAccessMessage()
  2. 9 core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormDisplayResourceTestBase::getExpectedUnauthorizedAccessMessage()

File

core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php, line 155

Class

EntityFormDisplayResourceTestBase

Namespace

Drupal\FunctionalTests\Rest

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
  return "The 'administer node form display' permission is required.";
}