LinkItemSerializationTest::$serializer

Same name in other branches
  1. 9 core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php \Drupal\Tests\link\Kernel\LinkItemSerializationTest::serializer
  2. 8.9.x core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php \Drupal\Tests\link\Kernel\LinkItemSerializationTest::serializer
  3. 10 core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php \Drupal\Tests\link\Kernel\LinkItemSerializationTest::serializer

The serializer service.

Type: \Symfony\Component\Serializer\SerializerInterface

File

core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php, line 31

Class

LinkItemSerializationTest
Tests link field serialization.

Namespace

Drupal\Tests\link\Kernel

Code

protected $serializer;

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