I've written a plugin that imports a CSV and creates entries from that for a client. I'm wanting to redirect them to the entries listing page after (i.e. /admin/entries/tvListings) and show a flash message saying "X TV listings imported.".
So this is a 2 parter:
- How do you set flash data in Craft 3.
- Is there a default flash key that'll show as soon as I land on the entries listing page?
Thanks.