LinkFormatterTest::$entity

Same name and namespace in other branches
  1. 11.x core/modules/link/tests/src/Kernel/LinkFormatterTest.php \Drupal\Tests\link\Kernel\LinkFormatterTest::entity

The entity to be tested.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/link/tests/src/Kernel/LinkFormatterTest.php, line 56

Class

LinkFormatterTest
Tests the Field Formatter for the link field type.

Namespace

Drupal\Tests\link\Kernel

Code

protected $entity;

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