class BlockContentEntityChangedConstraint
Same name in other branches
- 10 core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php \Drupal\block_content\Plugin\Validation\Constraint\BlockContentEntityChangedConstraint
- 11.x core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php \Drupal\block_content\Plugin\Validation\Constraint\BlockContentEntityChangedConstraint
Validation constraint for the block content entity changed timestamp.
Plugin annotation
@Constraint(
id = "BlockContentEntityChanged",
label = @Translation("Block content entity changed", context = "Validation"),
type = {"entity"}
)
Hierarchy
- class \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint extends \Symfony\Component\Validator\Constraint
- class \Drupal\block_content\Plugin\Validation\Constraint\BlockContentEntityChangedConstraint extends \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
Expanded class hierarchy of BlockContentEntityChangedConstraint
File
-
core/
modules/ block_content/ src/ Plugin/ Validation/ Constraint/ BlockContentEntityChangedConstraint.php, line 16
Namespace
Drupal\block_content\Plugin\Validation\ConstraintView source
class BlockContentEntityChangedConstraint extends EntityChangedConstraint {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.