Add support for trashing XB entities

Created on 16 June 2025, 8 days ago

Problem/Motivation

XB ships with a new entity type that is not a node. We will want to add support for soft deleting this if trash is installed. Details TBC!

Proposed resolution

TBC

Remaining tasks

TBC

User interface changes

TBC

API changes

TBC

Data model changes

TBC

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia pameeela

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

Comments & Activities

  • Issue created by @pameeela
  • πŸ‡¦πŸ‡ΊAustralia pameeela
  • πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

    Does XB have a way to alter this message? If not, then this issue may need to be postponed on an XB API to be created for this :) Or XB would need to pick up the message from some generic source that Trash altered :)

  • πŸ‡·πŸ‡΄Romania amateescu

    Or XB would need to pick up the message from some generic source that Trash altered :)

    That's exactly what needs to happen :) Trash alters the description message of \Drupal\Core\Entity\EntityDeleteForm (actually coming from its parent: \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()), and XB's xb_page entity type declares that it's using that form, but the message from the screenshot seems to be provided by a JS file instead: ui/src/components/navigation/Navigation.tsx

Production build 0.71.5 2024