You are here

function system_service_getvariable in Services 6.2

Same name and namespace in other branches
  1. 5 services/system_service/system_service.module \system_service_getvariable()
  2. 6 services/system_service/system_service.inc \system_service_getvariable()
  3. 7 services/system_service/system_service.inc \system_service_getvariable()

Services implementation of variable_get().

Parameters

$name: The name of the variable to return.

$default: The value to use if the variable has never been set.

Return value

The value of the variable.

See also

variable_get()

1 string reference to 'system_service_getvariable'
system_service_service in services/system_service/system_service.module
Implementation of hook_service().

File

services/system_service/system_service.inc, line 86
Link general system functionalities to services module.

Code

function system_service_getvariable($name, $default = NULL) {
  return variable_get($name, $default);
}