- Issue created by @aangel
Drupal Test Traits has a neat idea with markEntityForCleanup($entity):
https://gitlab.com/weitzman/drupal-test-traits
Examine how to implement. The interesting part is how to ensure the cleanup function always runs.
Active
1.0
Code