Drupal 8

Manually loop through blocks in a region.html.twig

UPDATE 2: It turns out that the elements array is not reliable available. So i’ve decided to put the .row wrapper in the region.html.twig and add the cell classes per region in the .theme file. This kinda sucks, but i currently see no other way to ensure the cell / column classes are added in a specific region.

(mehr …)