You are here

protected static property ResourceTestBase::$jsonApiMember in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ResourceTestBase::jsonApiMember
  2. 10 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 166

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