This is partially my fault in #2042285: #theme_wrappers should be able to have a unique set of variables per wrapper hook we broke #theme_wrappers that use array('hook') syntax.

Eg:

$foo = array(
  '#theme_wrappers' => array(array('foo')),
);

No longer works as drupal_render() now assumes that array values = attribute overrides.

Comments

thedavidmeister’s picture

StatusFileSize
new1.53 KB
new958 bytes

test + fix.

thedavidmeister’s picture

Status: Active » Needs review
jibran’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Status: Fixed » Closed (fixed)

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