public function LinkNotExistingInternalConstraintValidator::initialize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator::initialize()
Initializes the constraint validator.
Parameters
ExecutionContextInterface $context The current validation context:
Overrides ConstraintValidatorInterface::initialize
File
- core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkNotExistingInternalConstraintValidator.php, line 32 - Contains \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator.
Class
- LinkNotExistingInternalConstraintValidator
- Validates the LinkNotExistingInternal constraint.
Namespace
Drupal\link\Plugin\Validation\ConstraintCode
public function initialize(ExecutionContextInterface $context) {
$this->context = $context;
}