You are here

protected static property NodeXmlBasicAuthTest::$format in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeXmlBasicAuthTest::format
  2. 10 core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeXmlBasicAuthTest::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/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php, line 29

Class

NodeXmlBasicAuthTest
@group rest

Namespace

Drupal\Tests\node\Functional\Rest

Code

protected static $format = 'xml';