CommentEntityTest::$commentType

Same name in this branch
  1. 11.x core/modules/history/tests/src/Functional/CommentEntityTest.php \Drupal\Tests\history\Functional\CommentEntityTest::commentType
Same name and namespace in other branches
  1. 10 core/modules/comment/tests/src/Functional/CommentEntityTest.php \Drupal\Tests\comment\Functional\CommentEntityTest::commentType
  2. 9 core/modules/comment/tests/src/Functional/CommentEntityTest.php \Drupal\Tests\comment\Functional\CommentEntityTest::commentType
  3. 8.9.x core/modules/comment/tests/src/Functional/CommentEntityTest.php \Drupal\Tests\comment\Functional\CommentEntityTest::commentType

The comment type used for testing.

Type: \Drupal\comment\CommentTypeInterface

File

core/modules/comment/tests/src/Functional/CommentEntityTest.php, line 55

Class

CommentEntityTest
Tests comments with other entities.

Namespace

Drupal\Tests\comment\Functional

Code

protected $commentType;

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