CommentTestBase::$node
Same name in this branch
- 8.9.x core/modules/comment/src/Tests/CommentTestBase.php \Drupal\comment\Tests\CommentTestBase::node
Same name in other branches
- 9 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::node
- 10 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::node
- 11.x 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\FunctionalCode
protected $node;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.