I've created a draftable custom entity. I noticed that from the admin I can save it as a draft or publish it.
However, I'm wondering how can I fetch all my drafted or published records and how can I determine if a single record instance is drafted or published?
Thank you!