You are here

protected static property ResourceTestBase::$jsonApiMember in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ResourceTestBase::jsonApiMember

The standard `jsonapi` top-level document member.

Type: array

File

core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php, line 167

Class

ResourceTestBase
Subclass this for every JSON:API resource type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $jsonApiMember = [
  'version' => '1.0',
  'meta' => [
    'links' => [
      'self' => [
        'href' => 'http://jsonapi.org/format/1.0/',
      ],
    ],
  ],
];