You are here

protected property CommentTestBase::$comment in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
  2. 9 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;