Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295743

Recommended rule for upgrading admin forms

$
0
0

If a module has an admin.inc in the past... what is the recommended way of upgrading the current forms to be future safe? Is it more recommended to go with the way how LocaleSettingsForm.php works or the foo_settings() and foo_settings_submit() hook? I see no rule and core is very inconsistent here what could be because of lack of time...

I have no clue what's better and why choose one or the other. Sooo - what is the recommendation?

Please don't tell me - "both works..." :-)


Viewing all articles
Browse latest Browse all 295743


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>