Skip to content

Converts attributes html comments to theme_wrapper

Devan Bicher requested to merge switch_to_theme_wrapper into 1.0.x

Switches the rendering of html comments that contain the slotz attributes from '#prefix' and '#suffix' to use a '#theme_wrappers'. This includes adding a acquia-perz-slots-container.html.twig template file to render the attributes in comments.

To get a custom theme_wrapper working you also need template_preprocess_acquia_perz_slots_container function and to define the template in hook_theme.

Merge request reports

Loading