You are here

protected static property ResourceTestBase::$jsonApiMember in JSON:API 8.2

The standard `jsonapi` top-level document member.

Type: array

File

tests/src/Functional/ResourceTestBase.php, line 169

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/',
      ],
    ],
  ],
];