You are here

protected static property ResourceTestBase::$mimeType in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::mimeType
  2. 10 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::mimeType

The MIME type that corresponds to $format.

(Sadly this cannot be computed automatically yet.)

Type: string

File

core/modules/rest/tests/src/Functional/ResourceTestBase.php, line 48

Class

ResourceTestBase
Subclass this for every REST resource, every format and every auth provider.

Namespace

Drupal\Tests\rest\Functional

Code

protected static $mimeType = 'application/json';