protected function DatabaseStorageTest::update in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/config/src/Tests/Storage/DatabaseStorageTest.php \Drupal\config\Tests\Storage\DatabaseStorageTest::update()
Overrides ConfigStorageTestBase::update
File
- core/
modules/ config/ src/ Tests/ Storage/ DatabaseStorageTest.php, line 41 - Contains \Drupal\config\Tests\Storage\DatabaseStorageTest.
Class
- DatabaseStorageTest
- Tests DatabaseStorage operations.
Namespace
Drupal\config\Tests\StorageCode
protected function update($name, $data) {
db_update('config')
->fields(array(
'data' => $data,
))
->condition('name', $name)
->execute();
}