CommentActionsTest::$comment

Same name in other branches
  1. 9 core/modules/comment/tests/src/Kernel/CommentActionsTest.php \Drupal\Tests\comment\Kernel\CommentActionsTest::comment
  2. 11.x core/modules/comment/tests/src/Kernel/CommentActionsTest.php \Drupal\Tests\comment\Kernel\CommentActionsTest::comment

The comment entity.

Type: \Drupal\comment\CommentInterface

File

core/modules/comment/tests/src/Kernel/CommentActionsTest.php, line 39

Class

CommentActionsTest
Tests actions provided by the Comment module.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $comment;

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