You are here

protected property PhoneFieldValidationRuleTest::$entity in Field Validation 8

Entity interface.

Type: \Drupal\Core\Entity\EntityInterface

File

tests/src/Kernel/Plugin/FieldValidationRule/PhoneFieldValidationRuleTest.php, line 40

Class

PhoneFieldValidationRuleTest
Tests PhoneFieldValidationRule.

Namespace

Drupal\Tests\field_validation\Kernel\Plugin\FieldValidationRule

Code

protected $entity;