Rather than do a permissions check (which might be custom or diffferent for different entities), just check if the form already has a delete button. And if it doesn't, then don't add a "delete translation" button.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | entity_translation-delete-2072865-2.patch | 612 bytes | douggreen |
| entity_translation-delete-1.patch | 824 bytes | douggreen |
Comments
Comment #1
douggreen commentedAttaching a new patch that is relative to module root.
Comment #2
plachThanks :)
Comment #3
plachCommitted and pushed, thanks!