MessageResourceTestBase::$entity

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

The Message entity.

Type: \Drupal\contact\MessageInterface

Overrides EntityResourceTestBase::$entity

File

core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php, line 35

Class

MessageResourceTestBase

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected $entity;

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