You are here

protected function EntityTestMapFieldTest::getExpectedUnauthorizedAccessMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php \Drupal\Tests\jsonapi\Functional\EntityTestMapFieldTest::getExpectedUnauthorizedAccessMessage()
  2. 9 core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php \Drupal\Tests\jsonapi\Functional\EntityTestMapFieldTest::getExpectedUnauthorizedAccessMessage()

File

core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php, line 155

Class

EntityTestMapFieldTest
JSON:API integration test for the "EntityTestMapField" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
  return "The 'administer entity_test content' permission is required.";
}