Module
- D10: stable release
- D11: stable release
- D12: not supported
Form change warning
You can display the "You have unsaved changes" warning on a form when any input has been changed. Just attach the defined library to your form. /** * Implements hook_form_alter(). */ function YOURMODULE_form_alter(&$form, FormStateInterface $form_state, $form_id) { $form['#attached']['library'][
drupal.org
composer require drupal/form_change_warning30 out of 100
Unproven
Only one person can publish fixes.
- Sites
- 3
- Latest release
- 22 months ago
- Contributors (12 months)
- 0
- Open bugs
- 0
Why 30?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 3 sites
- 0
- Activity
- No commits or releases in 12 months
- 2
- Community
- 1 maintainer can publish fixes; 0 people contributed this year
- 20
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting
- 100