Hi @mheip,

Thank you for your contribution!!!
I've downloaded and used this module, working great.
Some of the issue I found:
* hook_help() is missing from modified_form_alert.module file
* Naming convention issue with function name:
function _apply_modified_form_alert(array &$form) {
All functions should be prefixed with your module/theme name (modified_form_alert) to avoid name clashes. See https://www.drupal.org/node/318#naming
* name attribute of module in modified_form_alert.info.yml should be "Modified Form Alert" not "Modified form alert"
* And some js issue.

Comments

rksyravi created an issue. See original summary.

rksyravi’s picture

StatusFileSize
new2.88 KB

Hi,
you can use the patch to resolve all the above.
Uses:
* Download and place https://www.drupal.org/files/issues/2020-01-10/modified_form_alert_fixes... file in module folder
* Run git apply -v < modified_form_alert_fixes-3105756-2.patch

rksyravi’s picture

Status: Active » Needs work
rksyravi’s picture

Status: Needs work » Needs review

  • mheip committed a572f77 on 8.x-1.x authored by rksyravi
    Issue #3105756 by rksyravi: Implement hook_help(), naming convention...
mheip’s picture

Hi Rksyravi

Thank you for this, agreed with the function name change.
I have pushed the patch changes to the development branch.

mheip’s picture

Status: Needs review » Reviewed & tested by the community
mheip’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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