Farm access's hooks in farmOS 7
Hooks that can be implemented by other modules in order to extend farm_access.
File
- modules/
farm/ farm_access/ farm_access.api.php, line 18 - Hooks provided by farm_access.
Functions
Name | Location | Description |
---|---|---|
hook_farm_access_perms |
modules/ |
Defines farm access permissions. Use farm_access_entity_perms() to generate permissions for common entity types. |
hook_farm_access_perms_alter |
modules/ |
Alter permissions that were defined by modules using hook_farm_access_perms(). |
hook_farm_access_roles |
modules/ |
Defines farm access roles. |