CommentLegacyTest::$entity
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\KernelCode
protected $entity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.