protected static property MediaXmlAnonTest::$format in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php \Drupal\Tests\media\Functional\Rest\MediaXmlAnonTest::format
- 9 core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php \Drupal\Tests\media\Functional\Rest\MediaXmlAnonTest::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/ media/ tests/ src/ Functional/ Rest/ MediaXmlAnonTest.php, line 19
Class
- MediaXmlAnonTest
- @group rest
Namespace
Drupal\Tests\media\Functional\RestCode
protected static $format = 'xml';