Skip to content

Commit

Permalink
Hook Theme Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
attus74 committed Jul 7, 2023
1 parent f5af0c0 commit 8ee58e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ContentEntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,8 @@ public function _createThemeHook(): void
new Expression(
new Assign(new ArrayDimFetch(new Variable('variables'), new String_('content')),
new ArrayDimFetch(new Variable('variables'), new String_('elements')))
)
),
new Return_(new Variable('hooks'));
];
$ast[] = $preprocess;
}
Expand Down

0 comments on commit 8ee58e3

Please sign in to comment.