class MediaTestConstraint
Same name in other branches
- 9 core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint
- 8.9.x core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint
- 11.x core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint
A media test constraint.
Hierarchy
- class \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of MediaTestConstraint
File
-
core/
modules/ media/ tests/ modules/ media_test_source/ src/ Plugin/ Validation/ Constraint/ MediaTestConstraint.php, line 12
Namespace
Drupal\media_test_source\Plugin\Validation\ConstraintView source
class MediaTestConstraint extends SymfonyConstraint {
/**
* The default violation message.
*
* @var string
*/
public $message = 'Inappropriate text.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MediaTestConstraint::$message | public | property | The default violation message. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.