You are here

function farm_area_farm_access_perms in farmOS 7

Implements hook_farm_access_perms().

File

modules/farm/farm_area/farm_area.module, line 37

Code

function farm_area_farm_access_perms($role) {
  $perms = array();

  // Add the "view farm areas" permission to all roles.
  $perms[] = 'view farm areas';
  return $perms;
}