You are here

protected static property PathAliasJsonBasicAuthTest::$format in Drupal 10

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

Class

PathAliasJsonBasicAuthTest
Test path_alias entities for JSON requests via basic auth.

Namespace

Drupal\Tests\path_alias\Functional\Rest

Code

protected static $format = 'json';