You are here

public function LinkToFileConstraint::initialize in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Validation/Constraint/LinkToFileConstraint.php \Drupal\file_link\Plugin\Validation\Constraint\LinkToFileConstraint::initialize()

File

src/Plugin/Validation/Constraint/LinkToFileConstraint.php, line 36

Class

LinkToFileConstraint
Validation constraint for file_link, checking that URI points to a file.

Namespace

Drupal\file_link\Plugin\Validation\Constraint

Code

public function initialize(ExecutionContextInterface $context) {
  $this->context = $context;
}