public static function Bootstrap::variable_get in AmazonS3 7.2
Same name in this branch
- 7.2 tests/DrupalAdapter/Bootstrap.php \Drupal\amazons3Test\DrupalAdapter\Bootstrap::variable_get()
- 7.2 src/DrupalAdapter/Bootstrap.php \Drupal\amazons3\DrupalAdapter\Bootstrap::variable_get()
Static version of variable_get() for testing.
Parameters
string $name:
null $default:
Return value
string
File
- tests/
DrupalAdapter/ Bootstrap.php, line 27
Class
- Bootstrap
- Methods that map to includes/bootstrap.inc.
Namespace
Drupal\amazons3Test\DrupalAdapterCode
public static function variable_get($name, $default = NULL) {
if (isset(static::$variableData[$name])) {
return static::$variableData[$name];
}
if (isset($default)) {
return $default;
}
}