API page: https://api.drupal.org/api/drupal/core%21modules%21block%21templates%21b...

Twig Templating, Wondering if there should be able to call the region the block is in, order to change markup depending on which region that block is in for example?

Comments

benjamin.merkley created an issue. See original summary.

benjamin.merkley’s picture

benjamin.merkley’s picture

Issue tags: +Twig
tim.plunkett’s picture

The block should have no knowledge of the region it is placed in.
We removed this in #1968360: Remove per-region block markup.

star-szr’s picture

Status: Active » Closed (works as designed)

Indeed, thanks.