function MockDrupalSystem::variableGet in X Autoload 7.4
Replacement of variable_get().
Parameters
string $name:
mixed $default:
Return value
mixed
Overrides DrupalSystemInterface::variableGet
File
- lib/
DrupalSystem/ MockDrupalSystem.php, line 29
Class
Namespace
Drupal\xautoload\DrupalSystemCode
function variableGet($name, $default = NULL) {
return $this->variables[$name] ?: $default;
}