People ask for mutating block presentation.

There should be a best practice guide to explain how to do this... (or a plugin to handle this if we can improve the experience somehow cleanly).

A block override plugin might need to override rendered blocks in hook_page_alter. But this is far from a preferred override method and adds double load/render overhead...

Comments

miro_dietiker’s picture

Possibly the context module might be a great help here and some integration with test state.
#1564870: Add context support