Add markEntityForCleanup($entity) and perform post-test entity cleanup

Created on 30 August 2023, 10 months ago

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.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024