You are here

protected function DatabaseStorageTest::delete in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/config/src/Tests/Storage/DatabaseStorageTest.php \Drupal\config\Tests\Storage\DatabaseStorageTest::delete()

Overrides ConfigStorageTestBase::delete

File

core/modules/config/src/Tests/Storage/DatabaseStorageTest.php, line 45
Contains \Drupal\config\Tests\Storage\DatabaseStorageTest.

Class

DatabaseStorageTest
Tests DatabaseStorage operations.

Namespace

Drupal\config\Tests\Storage

Code

protected function delete($name) {
  db_delete('config')
    ->condition('name', $name)
    ->execute();
}