protected function DatabaseStorageTest::insert

Overrides ConfigStorageTestBase::insert

File

drupal/core/modules/config/lib/Drupal/config/Tests/Storage/DatabaseStorageTest.php, line 61
Definition of Drupal\config\Tests\Storage\DatabaseStorageTest.

Class

DatabaseStorageTest
Tests DatabaseStorage controller operations.

Namespace

Drupal\config\Tests\Storage

Code

protected function insert($name, $data) {
  db_insert('config')
    ->fields(array(
    'name' => $name,
    'data' => $data,
  ))
    ->execute();
}