- Issue created by @welly
- 🇬🇧United Kingdom welly
It looks like this might do what I'm trying to do:
$this->trashManager->executeInTrashContext('ignore', function () use ($node) { $node->delete(); });
At least it appears to be working. Would this be the correct approach?
- 🇷🇴Romania amateescu
Yup, that's the correct way to bypass trash and purge entities directly :)
- 🇬🇧United Kingdom welly
Great! Thanks very much. It seems to be working fine. Cheers!