function GenericTest::preUninstallSteps
Same name in this branch
- 11.x core/modules/filter/tests/src/Functional/GenericTest.php \Drupal\Tests\filter\Functional\GenericTest::preUninstallSteps()
- 11.x core/modules/forum/tests/src/Functional/GenericTest.php \Drupal\Tests\forum\Functional\GenericTest::preUninstallSteps()
Same name in other branches
- 10 core/modules/workspaces/tests/src/Functional/GenericTest.php \Drupal\Tests\workspaces\Functional\GenericTest::preUninstallSteps()
- 10 core/modules/filter/tests/src/Functional/GenericTest.php \Drupal\Tests\filter\Functional\GenericTest::preUninstallSteps()
- 10 core/modules/forum/tests/src/Functional/GenericTest.php \Drupal\Tests\forum\Functional\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.