You are here

function countries_api_service_access in Country codes API 5

Same name and namespace in other branches
  1. 6 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 TODO: Continue adding methods as services

Code

function countries_api_service_access() {
  return user_access(COUNTRIES_API_SERVICE_PERM);
}