开发者

How to skip a function in Drupal?

I need to skip mollom verification if the users on a site have more then X points. Does anyone knows if it is possible to right a 开发者_开发百科module that skips mollom_form_alter ? Thanks !


You can't skip the mollom_form_alter call, to do that you would need to alter the mollom module itself, What you can do, howerver, is to alter the form after mollom, undoing whatever you like.


You can't skip a form alter call, however you can create your own form alter that "triggers" mollom based on the number of points that the user has.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜