You are here

function countries_api_service_access in Country codes API 6

Same name and namespace in other branches
  1. 5 contrib/countries_api_service/countries_api_service.module \countries_api_service_access()

Function to check user access

File

contrib/countries_api_service/countries_api_service.module, line 30
The module which exposes services related to countries_api.

Code

function countries_api_service_access($account) {
  return user_access(COUNTRIES_API_SERVICE_PERM, $account);
}