IgnoreActiveTrailConstraint::$message

The default violation message.

Type: string

File

core/modules/system/src/Plugin/Validation/Constraint/IgnoreActiveTrailConstraint.php, line 25

Class

IgnoreActiveTrailConstraint
Constraint on the ignore_active_trail configuration in system menu blocks.

Namespace

Drupal\system\Plugin\Validation\Constraint

Code

public string $message = 'The "ignore_active_trail" setting on a system menu block cannot be enabled if "level" is greater than 1 or "expand_all_items" is not enabled and "depth" is greater than 1.';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.