CommentTestBase::$comment
Same name in other branches
- 8.9.x core/modules/comment/src/Tests/Views/CommentTestBase.php \Drupal\comment\Tests\Views\CommentTestBase::comment
- 8.9.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
- 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
- 11.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
Stores a comment used by the tests.
Type: \Drupal\comment\Entity\Comment
File
-
core/
modules/ comment/ tests/ src/ Functional/ Views/ CommentTestBase.php, line 56
Class
- CommentTestBase
- Provides setup and helper methods for comment views tests.
Namespace
Drupal\Tests\comment\Functional\ViewsCode
protected $comment;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.