function node_farm_access_perms in farmOS 7
Implements hook_farm_access_perms().
File
- modules/
farm/ farm_access/ farm_access.farm_access.inc, line 57 - Farm access hooks implemented by farm access module.
Code
function node_farm_access_perms($role) {
$perms = array();
// This is needed to view nodes and taxonomy terms.
$perms[] = 'access content';
return $perms;
}