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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

B-Prod’s picture

Status: Active » Needs review
FileSize
1.01 KB
Jorrit’s picture

Status: Needs review » Needs work

The patch no longer applies to 7.x-2.x-dev.