function FileExtensionSecureConstraintValidator::__construct
Same name in other branches
- 11.x core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php \Drupal\file\Plugin\Validation\Constraint\FileExtensionSecureConstraintValidator::__construct()
Creates a new FileExtensionSecureConstraintValidator.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionSecureConstraintValidator.php, line 25
Class
- FileExtensionSecureConstraintValidator
- Validator for the FileExtensionSecureConstraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public function __construct(ConfigFactoryInterface $configFactory) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.