You are here

protected static property EntityTestBundleXmlAnonTest::$format in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleXmlAnonTest::format
  2. 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleXmlAnonTest::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/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php, line 19

Class

EntityTestBundleXmlAnonTest
@group rest

Namespace

Drupal\Tests\entity_test\Functional\Rest

Code

protected static $format = 'xml';