function ImmutablePropertiesConstraintValidator::__construct
Constructs an ImmutablePropertiesConstraintValidator object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ImmutablePropertiesConstraintValidator.php, line 28
Class
- ImmutablePropertiesConstraintValidator
- Validates the ImmutableProperties constraint.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public function __construct(protected EntityTypeManagerInterface $entityTypeManager) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.