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

Twig Templates Modified

region.html.twig

Preprocess Functions Modified

template_preprocess_region

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wheatpenny’s picture

Status: Needs work » Needs review
FileSize
1.7 KB
wheatpenny’s picture

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

Status: Needs review » Reviewed & tested by the community

Looks good!

mortendk’s picture

+1

star-szr’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.