CommentTestBase::$comment

Same name in other branches
  1. 8.9.x core/modules/comment/src/Tests/Views/CommentTestBase.php \Drupal\comment\Tests\Views\CommentTestBase::comment
  2. 8.9.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
  3. 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
  4. 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\Views

Code

protected $comment;

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