protected function ConfigStorageTest::delete in MongoDB 8
1 call to ConfigStorageTest::delete()
- ConfigStorageTest::testCRUD in src/
Tests/ ConfigStorageTest.php - Overrides Drupal\config\Tests\Storage\ConfigStorageTestBase::testCRUD().
File
- src/
Tests/ ConfigStorageTest.php, line 167 - Definition of Drupal\mongodb\Tests\ConfigStorageTest.
Class
- ConfigStorageTest
- Tests ConfigStorage controller operations.
Namespace
Drupal\mongodb\TestsCode
protected function delete($name) {
\Drupal::service('mongo')
->get('config.active')
->remove(array(
'_id' => $name,
));
}