RestJsonApiUnsupported::$format

Same name in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::format
  2. 10 core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::format
  3. 11.x core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::format

Type: format

Overrides ResourceTestBase::$format

File

core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php, line 35

Class

RestJsonApiUnsupported
Ensures that the 'api_json' format is not supported by the REST module.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $format = 'api_json';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.