Commit 208af9fe authored by sun's avatar sun Committed by gdd

Chainable config()->set().

parent eb9954ac
......@@ -123,6 +123,7 @@ public function set($key, $value) {
else {
drupal_array_set_nested_value($this->data, $parts, $value);
}
return $this;
}
public function castValue($value) {
......
......@@ -147,11 +147,12 @@ class ConfigFileContentTestCase extends DrupalWebTestCase {
$this->assertIdentical($db_config, FALSE);
$this->assertFalse(file_exists($config_dir . '/' . $name . '.' . $this->fileExtension));
// Chainable ->set()->save()
// Attempt to delete non-existing configuration.
// Write and read an array value.
// Add an array value to a nested key.
// Type casting into string.
// Type casting into string. (recursively)
// NULL value behavior.
// List config names by prefix.
// List config names by prefix. (and without prefix)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment