Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
As WebformHandler should support Ajax callbacks. While working on #2854021: Send email based on element options selection, I ran into major issue with #ajax within handler's configuration form.
Solution
Build a 'test_ajax' handler. (\Drupal\webform_test_handler\Plugin\WebformHandler\TestAjaxWebformHandler)
Tasks
- Setup handler
- Test entity type to fields mapping.
- Test add and remove.
- Setup basic mapping example.
References
Comment | File | Size | Author |
---|---|---|---|
#6 | create_test_ajax-2860434-6.patch | 7.31 KB | jrockowitz |
|
Comments
Comment #6
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #8
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commented