You are here

protected static property WorkspaceXmlAnonTest::$format in Workspace 8.2

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

tests/src/Functional/EntityResource/WorkspaceXmlAnonTest.php, line 21

Class

WorkspaceXmlAnonTest
Test workspace entities for unauthenticated XML requests.

Namespace

Drupal\Tests\workspace\Functional\EntityResource

Code

protected static $format = 'xml';