SerializationTestEncoder::$format

Same name in other branches
  1. 8.9.x core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::format
  2. 10 core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::format
  3. 11.x core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::format

The format that this Encoder supports.

Type: string

File

core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php, line 14

Class

SerializationTestEncoder

Namespace

Drupal\serialization_test

Code

protected static $format = 'serialization_test';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.