1

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?

1

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

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: github.com/craftcms/cms/issues/4223
    – KSP
    Oct 19 '20 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.