You are here

protected property CommentLegacyTest::$entity in Drupal 8

The entity to which the comments are attached to.

Type: \Drupal\entity_test\Entity\EntityTest

File

core/modules/comment/tests/src/Kernel/CommentLegacyTest.php, line 33

Class

CommentLegacyTest
Tests legacy comment functionality.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $entity;