FieldValidationTest::$entity

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Kernel/FieldValidationTest.php \Drupal\Tests\field\Kernel\FieldValidationTest::entity
  2. 8.9.x core/modules/field/tests/src/Kernel/FieldValidationTest.php \Drupal\Tests\field\Kernel\FieldValidationTest::entity
  3. 10 core/modules/field/tests/src/Kernel/FieldValidationTest.php \Drupal\Tests\field\Kernel\FieldValidationTest::entity

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/field/tests/src/Kernel/FieldValidationTest.php, line 27

Class

FieldValidationTest
Tests field validation.

Namespace

Drupal\Tests\field\Kernel

Code

private $entity;

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