You are here

private property BlackListFieldValidationRuleTest::$blacklisted in Field Validation 8

Stores blacklisted words.

Type: array

File

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

Class

BlackListFieldValidationRuleTest
Tests BlacklistFieldValidationRule.

Namespace

Drupal\Tests\field_validation\Kernel\Plugin\FieldValidationRule

Code

private $blacklisted = [
  'bug',
  'issue',
  'patch',
];