function GenericTest::preUninstallSteps
File
-
core/
modules/ workspaces/ tests/ src/ Functional/ GenericTest.php, line 19
Class
- GenericTest
- Generic module test for workspaces.
Namespace
Drupal\Tests\workspaces\FunctionalCode
protected function preUninstallSteps() : void {
$storage = \Drupal::entityTypeManager()->getStorage('workspace');
$workspaces = $storage->loadMultiple();
$storage->delete($workspaces);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.