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.
I started switching some of the places where we use static variables with $reset parameters over to drupal_static().
webform_components() could probably use this but it's a bit of an odd case since it has two static variables. I think we could stick those into an array and store them in one but since there wasn't an *obvious* right way to do it I left it for a followup.
Comment | File | Size | Author |
---|---|---|---|
webform_static.patch | 3.48 KB | drewish | |
Comments
Comment #1
quicksketchThanks! Committed to 4.x branch.