public function PriceModifierConstraintValidator::__construct in Price 3.x
Same name and namespace in other branches
- 8 src/Plugin/Validation/Constraint/PriceModifierConstraintValidator.php \Drupal\price\Plugin\Validation\Constraint\PriceModifierConstraintValidator::__construct()
- 3.0.x src/Plugin/Validation/Constraint/PriceModifierConstraintValidator.php \Drupal\price\Plugin\Validation\Constraint\PriceModifierConstraintValidator::__construct()
Constructs a new PriceModifierConstraintValidator object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Plugin/ Validation/ Constraint/ PriceModifierConstraintValidator.php, line 31
Class
- PriceModifierConstraintValidator
- Validates the price modifier constraint.
Namespace
Drupal\price\Plugin\Validation\ConstraintCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}