EntityTestDefaultPlugin.php
Same filename in other branches
Namespace
Drupal\entity_test\Plugin\Validation\ConstraintFile
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestDefaultPlugin.php
View source
<?php
namespace Drupal\entity_test\Plugin\Validation\Constraint;
use Drupal\Component\Plugin\PluginBase;
/**
* A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory.
*
* @Constraint(
* id = "EntityTestDefaultPlugin",
* label = @Translation("Constraint that extends PluginBase."),
* type = "entity"
* )
*/
class EntityTestDefaultPlugin extends PluginBase {
}
Classes
Title | Deprecated | Summary |
---|---|---|
EntityTestDefaultPlugin | A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.