Bootstrap.php in AmazonS3 7.2
File
tests/DrupalAdapter/Bootstrap.php
View source
<?php
namespace Drupal\amazons3Test\DrupalAdapter;
trait Bootstrap {
protected static $variableData = array();
public static function setVariableData(array $data) {
static::$variableData = $data;
}
public static function variable_get($name, $default = NULL) {
if (isset(static::$variableData[$name])) {
return static::$variableData[$name];
}
if (isset($default)) {
return $default;
}
}
}
Traits
Name |
Description |
Bootstrap |
Methods that map to includes/bootstrap.inc. |