You are here

function regions_api_service_access in Country codes API 6

Function to check user access

File

contrib/regions_api_service/regions_api_service.module, line 30
The module which exposes services related to regions_api

Code

function regions_api_service_access($account) {
  return user_access(REGIONS_API_SERVICE_PERM, $account);
}