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