We have a block (
myblock) that is only displayed on 4/5 content types. When a cookie,
mycookie, is set and has a value of
allow, I want to load the block on the page, but if the value is not set to
How to remove block based on cookie value?
- Under block layout, we load the block on 4/5 content types.
- Using twig template (
myblock--name.html.twig), we add some css to the