You are here

protected property CommentTestBase::$node in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::node
  2. 9 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::node

A test node to which comments will be posted.

Type: \Drupal\node\NodeInterface

File

core/modules/comment/tests/src/Functional/CommentTestBase.php, line 55

Class

CommentTestBase
Provides setup and helper methods for comment tests.

Namespace

Drupal\Tests\comment\Functional

Code

protected $node;