- Issue created by @penyaskito
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I did some research on this, and didn't get to any solution in a generic way.
From this research I created 📌 Provide a way to know the dashboard context to a block even if not context aware Active .
This way a hook_preprocess_block can be aware and provide suggestions. We could provide the suggestions ourselves, but would be for e.g. block-block, not the content inside the block, which is what we really care about.
E.g. for a block view, we can have its own block preprocess + template, but that wouldn't override views-view.html.twig, where the link rendering resides.
If we pass the dashboard context in some way to the view (which we can), we could do this via css. But that breaks accessibility as the visual order would differ from the markup order.
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Changed titles as this ideally won't only apply to views.