CommentEntityReferenceTest::$node2

Same name in other branches
  1. 11.x core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php \Drupal\Tests\comment\Functional\CommentEntityReferenceTest::node2

A second test node containing references to comments.

Type: \Drupal\node\NodeInterface

File

core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php, line 29

Class

CommentEntityReferenceTest
Tests that comments behave correctly when added as entity references.

Namespace

Drupal\Tests\comment\Functional

Code

protected $node2;

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