You are here

protected property CropTypeMachineNameValidationConstraintValidator::$context in Crop API 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Validation/Constraint/CropTypeMachineNameValidationConstraintValidator.php \Drupal\crop\Plugin\Validation\Constraint\CropTypeMachineNameValidationConstraintValidator::context

Validator 2.5 and upwards compatible execution context.

Type: \Symfony\Component\Validator\Context\ExecutionContextInterface

File

src/Plugin/Validation/Constraint/CropTypeMachineNameValidationConstraintValidator.php, line 18

Class

CropTypeMachineNameValidationConstraintValidator
Checks if the crop type is valid.

Namespace

Drupal\crop\Plugin\Validation\Constraint

Code

protected $context;