Problem/Motivation

Because of #2949447: Expose honeypot protection via service, the honeypot function honeypot_add_form_protection is deprecated and we should use the service \Drupal::service('honeypot')->addFormProtection

Proposed resolution

Replace the function with the new service

Remaining tasks

- Create the MR
- Review

Issue fork webform-3282245

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jjcarrion created an issue. See original summary.

jjcarrion’s picture

Issue summary: View changes
jjcarrion’s picture

Assigned: jjcarrion » Unassigned
cilefen’s picture

Status: Active » Needs review
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.