You are here

protected static property RestJsonApiUnsupported::$mimeType in JSON:API 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::mimeType

The MIME type that corresponds to $format.

(Sadly this cannot be computed automatically yet.)

Type: string

Overrides ResourceTestBase::$mimeType

File

tests/src/Functional/RestJsonApiUnsupported.php, line 36

Class

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

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $mimeType = 'application/vnd.api+json';