markdown Drupal Honeypot模块

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Drupal Honeypot模块相关的知识,希望对你有一定的参考价值。

In Drupal 7, in order to activate Honeypot for an individual form, you need to use the `hook_form_alter()` function
   From the Honeypot author:
   > in Drupal 7, I think my recommendation would be to use a custom module to add Honeypot to any of the forms you're interested in, or to do something like add a field to Webform nodes that's a 'Honeypot enabled' checkbox, then add the protections based on whether that checkbox is checked.



In Drupal 8, the integration is baked into the Webform module itself.

以上是关于markdown Drupal Honeypot模块的主要内容,如果未能解决你的问题,请参考以下文章

markdown Drupal有条件地显示/隐藏字段。

markdown Drupal自定义模块文档

markdown 使用作曲家应用drupal补丁

markdown settings.local.php(Drupal)

markdown Drupal的东西

markdown 将ReCAPTCHA与Drupal一起使用