In SocialBaseThemeSuggestions we recreate the variables array using Variables::create whereas parent::alter($suggestions, $context1, $hook); already does this for us a line earlier. The result is stored in $this->variables

https://github.com/goalgorilla/open_social/blob/8.x-1.x/themes/socialbase/src/Plugin/Alter/SocialBaseThemeSuggestions.php#L24

Comments

Kingdutch created an issue. See original summary.

maikelkoopman’s picture

Status: Active » Fixed

Will be part of release 1.5

  • maikelkoopman committed 2942f2c on 8.x-1.x
    Issue #2909658 by maikelkoopman: reuse existing variable in parent
    

Status: Fixed » Closed (fixed)

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