<p>I believe the answer is to roll my own archiving method – archived elements results in them not being accessible in element indexes.</p>

CC BY-SA 4.0
2020-10-19T14:25:00.247Z
Not really an answer, but there is a feature request for this, please upvote to increase the chances of it being addressed in a future update:
https://github.com/craftcms/cms/issues/4223
KSP
CC BY-SA 4.0
2020-10-19T09:09:16.147Z
2020-10-19T09:09:16.147Z
dmatthams
<p>I am building a custom element type and want to have the ability to archive entries. I can create a custom status for 'archived' but I've noticed base elements already have an 'archived' status I could use. Is it wise to do this? I don't know if Craft will delete elements marked as 'archived' after a period?</p>

<plugin-development><elementtype>
Archiving custom element types
# Archiving custom element types

(Asked by: username_0 on 2020-10-18)

I am building a custom element type and want to have the ability to archive entries. I can create a custom status for 'archived' but I've noticed base elements already have an 'archived' status I could use. Is it wise to do this? I don't know if Craft will delete elements marked as 'archived' after a period?

**Tags:** plugin-development, elementtype


---

## 1 answers

### Answer by username_0 on 2020-10-19. Score: 1

I believe the answer is to roll my own archiving method – archived elements results in them not being accessible in element indexes.

> **Comments:**
> **username_1**: Not really an answer, but there is a feature request for this, please upvote to increase the chances of it being addressed in a future update: https://github.com/craftcms/cms/issues/4223  

---

