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