The 'validate callback' attribute that is assignable via hook_variable_info does not work. The problem is that variable.form.inc sets the '#validate' element attribute which does not exist. The correct attribute to set is '#element_validate'. Patch is attached.

CommentFileSizeAuthor
variable.form_.patch1002 bytesJEmbry

Comments

JEmbry’s picture

Status: Patch (to be ported) » Needs review
jose reyero’s picture

Status: Needs review » Closed (fixed)

This was already fixed, I don't remember when.