Move classes out of the preprocess functions and into the Twig templates.

Twig Templates Modified

region.html.twig

Preprocess Functions Modified

template_preprocess_region

Files: 
CommentFileSizeAuthor
#1 consensus_banana_phase-2326423-1.patch1.7 KBwheatpenny
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 76,075 pass(es). View

Comments

wheatpenny’s picture

Status: Needs work » Needs review
FileSize
1.7 KB
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 76,075 pass(es). View
wheatpenny’s picture

Title: Consensus Banana Phase 1: Move "region" classes from preprocess to template » Move "region" classes from preprocess to template
Cottser’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

mortendk’s picture

+1

Cottser’s picture

Just manually tested this one as well to confirm, absolutely no markup changes.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed d81f06f and pushed to 8.0.x. Thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed d81f06f and pushed to 8.0.x. Thanks!

  • alexpott committed d81f06f on 8.0.x
    Issue #2326423 by wheatpenny: Move "region" classes from preprocess to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.