function ImmutablePropertiesConstraintValidator::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php \Drupal\Core\Entity\Plugin\Validation\Constraint\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\Constraint

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.