You are here

protected static property WorkspaceJsonAnonTest::$format in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceJsonAnonTest::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/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php, line 19

Class

WorkspaceJsonAnonTest
Test workspace entities for unauthenticated JSON requests.

Namespace

Drupal\Tests\workspaces\Functional\EntityResource

Code

protected static $format = 'json';