Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Shouldn't the Complexity constraint value be limited to 1, 2, 3, or 4?
Comments
Comment #1
AohRveTPV CreditAttribution: AohRveTPV commentedYes, it should be limited to those values (or empty string to disable). Actually none of the constraints' values are validated. Adding validation is nontrivial because I believe the Constraints API would need to add a callback so the constraint could validate the configuration values. We should do it though.
Comment #2
AohRveTPV CreditAttribution: AohRveTPV commentedMake title more general per #1.