Okay, so scenario.
I have a page with a bunch of blocks, Express blocks and other things. Let’s say I make a template (and apply it) to an Express Entry List block on a page.
At the top of the template, before the template starts doing its “if ($entity)…” stuff, if I define a variable there (outside of any loops, braces, or whatever) in said template, and then that template is applied to a block on a page… is that variable only usable within that specific block on that page? Or does the variable exist for the other blocks on the page too? (as well as the actual value of that variable).
I’m asking to try and plan around the expected behaviour. As if the variable is readable/writable by other blocks on the same page, well then I need to expect that and plan accordingly.
So what is the actual behaviour and/or expected behaviour in this case?
Thanks!