You are here

public property FractionConstraint::$denominatorNotZero in Fraction 8

Same name and namespace in other branches
  1. 2.x src/Plugin/Validation/Constraint/FractionConstraint.php \Drupal\fraction\Plugin\Validation\Constraint\FractionConstraint::denominatorNotZero

Constraint message if denominator is empty or zero.

Type: string

File

src/Plugin/Validation/Constraint/FractionConstraint.php, line 22

Class

FractionConstraint
Plugin implementation of the 'fraction_constraint'.

Namespace

Drupal\fraction\Plugin\Validation\Constraint

Code

public $denominatorNotZero = 'The denominator of a fraction cannot be zero or empty.';