class MenuTreeHierarchyConstraint extends CompositeConstraintBase (View source)

Validation constraint for changing the menu hierarchy in pending revisions.

Properties

string $message

The default violation message.

Methods

string[]
coversFields()

An array of entity fields which should be passed to the validator.

Details

string[] coversFields()

An array of entity fields which should be passed to the validator.

Return Value

string[]

An array of field names.