You are here

function services_access_menu in Services 6.3

Same name and namespace in other branches
  1. 6.2 services.module \services_access_menu()
  2. 7.3 services.module \services_access_menu()
  3. 7 services.module \services_access_menu()

Access callback that always returns TRUE.

This callback is necessary for services like login and logout that should always be wide open and accessible.

*** USE THIS WITH GREAT CAUTION ***

If you think you need it you are almost certainly wrong.

1 call to services_access_menu()
ServicesModuleTests::testServicesAccessMenu in tests/unit/TestServicesModule.test
Test that services_access_menu() returns TRUE.
3 string references to 'services_access_menu'
services_menu in ./services.module
Implementation of hook_menu().
_system_resource_definition in resources/system_resource.inc
@file Link general system functionalities to services module.
_user_resource_definition in resources/user_resource.inc
@file This file will define the resources for dealing with the user object

File

./services.module, line 106
Provides a generic but powerful API for web services.

Code

function services_access_menu() {
  return TRUE;
}