You are here

private property BlackListFieldValidationRuleTest::$whitelisted in Field Validation 8

Stores whitelisted words.

Type: array

File

tests/src/Kernel/Plugin/FieldValidationRule/BlackListFieldValidationRuleTest.php, line 30

Class

BlackListFieldValidationRuleTest
Tests BlacklistFieldValidationRule.

Namespace

Drupal\Tests\field_validation\Kernel\Plugin\FieldValidationRule

Code

private $whitelisted = [
  'release',
  'drupal',
  'docs',
];