You are here

public property WorkflowFieldConstraint::$messageFieldname in Workflow 8

Message shown when Comment fieldname does not match any Entity field name.

Type: string

File

src/Plugin/Validation/Constraint/WorkflowFieldConstraint.php, line 26

Class

WorkflowFieldConstraint
Supports validating Workflow Field names.

Namespace

Drupal\workflow\Plugin\Validation\Constraint

Code

public $messageFieldname = 'A workflow field on a comment must have
    the same field_name as the commented Entity. Please maintain the entity
    first, or choose another field name.';