FieldItemSerializationTest::$serializer

Same name in this branch
  1. 9 core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php \Drupal\Tests\hal\Kernel\serialization\FieldItemSerializationTest::serializer
Same name in other branches
  1. 8.9.x core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::serializer
  2. 10 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::serializer
  3. 11.x core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::serializer

The serializer service.

Type: \Symfony\Component\Serializer\Serializer

File

core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php, line 57

Class

FieldItemSerializationTest
Test field level normalization process.

Namespace

Drupal\Tests\serialization\Kernel

Code

protected $serializer;

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