CommentEntityReferenceTest::$comment

Same name in other branches
  1. 10 core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php \Drupal\Tests\comment\Functional\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\Functional

Code

protected $comment;

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