Farm log's hooks in farmOS 7
Hooks that can be implemented by other modules in order to extend farm_log.
File
- modules/
farm/ farm_log/ farm_log.api.php, line 18 - Hooks provided by farm_log.
Functions
Name | Location | Description |
---|---|---|
hook_farm_log_categories |
modules/ |
Provide a list of log categories that should be created when the module is installed. Note that these will be passed through the t() function when they are created so that they can be translated. This does mean that they will only be translated once,… |
hook_farm_log_categories_populate |
modules/ |
Allow modules to automatically populate log categories in log forms. The category must exist already. Note that these will be passed through the t() function when they are added so that they can be translated. This does mean that they will only be… |
hook_farm_log_prepopulate_reference_fields |
modules/ |
Allow modules to provide information about fields that should be prepopulated in log forms. |
hook_farm_log_prepopulate_reference_fields_alter |
modules/ |
Allow modules to alter information about fields that should be prepopulated in log forms. |