CommentEntityReferenceTest::$comment
A comment linked to a node.
Type: \Drupal\comment\CommentInterface
File
-
core/
modules/ comment/ tests/ src/ Functional/ CommentEntityReferenceTest.php, line 36
Class
- CommentEntityReferenceTest
- Tests that comments behave correctly when added as entity references.
Namespace
Drupal\Tests\comment\FunctionalCode
protected $comment;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.