You are here

protected static property ModeratedNodeJsonAnonTest::$format in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php \Drupal\Tests\rest\Functional\EntityResource\ModeratedNode\ModeratedNodeJsonAnonTest::format
  2. 9 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php \Drupal\Tests\rest\Functional\EntityResource\ModeratedNode\ModeratedNodeJsonAnonTest::format

The format to use in this test.

A format is the combination of a certain normalizer and a certain serializer.

(The default is 'json' because that doesn't depend on any module.)

Type: string

Overrides ResourceTestBase::$format

See also

https://www.drupal.org/developing/api/8/serialization

File

core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php, line 17

Class

ModeratedNodeJsonAnonTest
@group rest

Namespace

Drupal\Tests\rest\Functional\EntityResource\ModeratedNode

Code

protected static $format = 'json';