Document module automated updates.

This commit is contained in:
Michael Stenta 2020-12-12 06:44:23 -05:00
parent 2c8a65b3d7
commit c407ba941d
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# Automated updates
farmOS modules may change and evolve over time. If these changes require
updates to a farmOS database or configuration, then update logic should be
provided so that users of the module can perform the necessary changes
automatically when they update to the new version.
This logic can be supplied via implementations of `hook_update_N()`.
For more information, see the documentation for Drupal's
[Update API](https://www.drupal.org/docs/drupal-apis/update-api/).

View File

@ -10,6 +10,7 @@ nav:
- Fields: development/module/fields.md
- OAuth: development/module/oauth.md
- Roles: development/module/roles.md
- Updates: development/module/updates.md
- Environment:
- Getting started: development/environment/index.md
- Updating: development/environment/update.md