Skip to content
Snippets Groups Projects
Commit 208af9fe authored by Daniel Kudwien's avatar Daniel Kudwien Committed by Greg Dunlap
Browse files

Chainable config()->set().

parent eb9954ac
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment