class EntityResourceValidationTraitTestClass
Same name in other branches
- 9 core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTestClass
- 8.9.x core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTestClass
- 10 core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTestClass
A test class to use to test EntityResourceValidationTrait.
Because the mock doesn't use the \Drupal namespace, the Symfony 4+ class loader will throw a deprecation error.
Hierarchy
- class \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTestClass uses \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait
Expanded class hierarchy of EntityResourceValidationTraitTestClass
File
-
core/
modules/ rest/ tests/ src/ Unit/ EntityResourceValidationTraitTest.php, line 81
Namespace
Drupal\Tests\rest\UnitView source
class EntityResourceValidationTraitTestClass {
use EntityResourceValidationTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.