Form Api Revision
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
This is a developer module.
This module allows make custom forms revisionable, you can create revisions to your custom forms, providing the important information like the user that changed and when the change was made, thus providing a power of control over what, when, and who changed the data in the custom form.
For example, enable the module "Form API Revisions Example" and access the
url: "admin/config/development/form_api_revision_example", fill the fields e save it, after saving a button "Show/Hide Revisions" is visible as well, click it and the revisions will be displayed.
It's so easy to use, just add this "form_api_revision_system_settings_form" function instead of the "system_settings_form" function in your custom forms. For the forms with custom submits just add the follow code in your form:
$form['#submit'][] = 'form_api_revision_save_current_revision';
Please check the module "Form Api Revisions Example" as example of the implementation.
