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