Answers.Body: <p>I believe the answer is to roll my own archiving method – archived elements results in them not being accessible in element indexes.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-19T14:25:00.247Z
Answers.Text: 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
Answers.UserDisplayName: KSP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-19T09:09:16.147Z
Answers.LastActivityDate: 2020-10-19T09:09:16.147Z
Answers.UserDisplayName: dmatthams
Body: <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>
  
Tags: <plugin-development><elementtype>
Title: Archiving custom element types
ThreadText: # 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  
  
  ---
  
  