You are here

protected property OnlyOneConstraintValidator::$configFactory in Allow a content type only once (Only One) 8

The config factory.

Type: \Drupal\Core\Config\ConfigFactoryInterface

File

src/Plugin/Validation/Constraint/OnlyOneConstraintValidator.php, line 23

Class

OnlyOneConstraintValidator
Validates the OnlyOne constraint.

Namespace

Drupal\onlyone\Plugin\Validation\Constraint

Code

protected $configFactory;