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.
When validating the defined rules, a check against class inhéritance is performed in field_validation_field_attach_validate()
function.
But the check is made against the plugin name and not against the class name. So if a plugin do not have the same name as its handler class, it will be ignored.
Comment | File | Size | Author |
---|---|---|---|
#1 | field_validation-use-class-name-for-checking-inheritance-2359553-1.patch | 1.01 KB | B-Prod |
Comments
Comment #1
B-Prod CreditAttribution: B-Prod commentedComment #2
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedThe patch no longer applies to 7.x-2.x-dev.