FileValidatorTestBase::$validator

Same name in other branches
  1. 10 core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php \Drupal\Tests\file\Kernel\Validation\FileValidatorTestBase::validator

The file validator.

Type: \Drupal\file\Validation\FileValidatorInterface

File

core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php, line 34

Class

FileValidatorTestBase
Provides a base file constraint validator test.

Namespace

Drupal\Tests\file\Kernel\Validation

Code

protected FileValidatorInterface $validator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.