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.
- Improved readme #2994630
- Improved code quality according to Drupal Coding Standards.
- Added help page based on README.md file.
- System messages moved from form alter to AJAX. Because they also shows other messages if set to form by default.
Warning! This release can break your form theming and AJAX will work incorrectly for multiple instance of the same form on the same page, including called via modal because of new static selector.
This done because current bug is much harder to fix. If there an AJAX element, and it was used, main AJAX for form called, but not replace old form, because build_id_old, on which AJAX previously rely, is changed by AJAX element. e.g. filed filed on AJAX form.
- Improved code quality.
- Added ability to pass data to form for `getForm()`, `getFormAjax()` and their Twig functions. Also added example how to use it.
- Fix documentation example for readthedoc.
- Fix: TypeError: Argument 2 passed to HOOK_contact_tools_modal_link_options_alter() must be of the type array, null given.
- Replaced deprecated drupal messages functions with object.
- AJAX wrapper container now has suffix `-ajax-wrapper` for all inherited classes. It will make theming easier without class duplicates.