Use the class name for checking class inheritance

Created on 19 October 2014, over 10 years ago
Updated 28 March 2025, 14 days ago

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.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇱🇺Luxembourg B-Prod

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024