class EntityChangedConstraint
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
- 8.9.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
- 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
Validation constraint for the entity changed timestamp.
Hierarchy
- class \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of EntityChangedConstraint
1 file declares its use of EntityChangedConstraint
- BlockContentEntityChangedConstraint.php in core/
modules/ block_content/ src/ Plugin/ Validation/ Constraint/ BlockContentEntityChangedConstraint.php
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityChangedConstraint.php, line 12
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintView source
class EntityChangedConstraint extends SymfonyConstraint {
public $message = 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.';
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.