class EntityTestDefaultPlugin
Same name in other branches
- 10 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestDefaultPlugin.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestDefaultPlugin
- 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestDefaultPlugin.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestDefaultPlugin
A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory.
Plugin annotation
@Constraint(
id = "EntityTestDefaultPlugin",
label = @Translation("Constraint that extends PluginBase."),
type = "entity"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestDefaultPlugin extends \Drupal\Component\Plugin\PluginBase
Expanded class hierarchy of EntityTestDefaultPlugin
1 string reference to 'EntityTestDefaultPlugin'
- ConstraintFactoryTest::testCreateInstance in core/
tests/ Drupal/ KernelTests/ Core/ Validation/ ConstraintFactoryTest.php - @covers ::createInstance
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestDefaultPlugin.php, line 16
Namespace
Drupal\entity_test\Plugin\Validation\ConstraintView source
class EntityTestDefaultPlugin extends PluginBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.