Why is my $node always null in my custom block (using plugin contexts)?
Thanks everyone - turns out the answer was deceptively simple - I had to remove the block using context &amp; then re-add it. When I re-added it there was an extra option in context to use the current node. Then the context plugin worked!