CommentTypeResourceTestBase::$entity

Same name in other branches
  1. 9 core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentTypeResourceTestBase::entity
  2. 10 core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentTypeResourceTestBase::entity
  3. 11.x core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentTypeResourceTestBase::entity

The CommentType entity.

Type: \Drupal\comment\CommentTypeInterface

Overrides EntityResourceTestBase::$entity

File

core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php, line 28

Class

CommentTypeResourceTestBase
ResourceTestBase for CommentType entity.

Namespace

Drupal\Tests\comment\Functional\Rest

Code

protected $entity;

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