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