Problem/Motivation

I have run into a situation where it would be greatly beneficial for the Search API Page theme to be place _before_ the alter request in SearchApiPageController.php. If it is added before the call to alter the $build variable, then I am able to nest the Search API Page render array inside another template and even add to it if I need to.

Proposed resolution

Move the #theme declaration so it occurs before the module alter call.

Remaining tasks

Attach a patch (forthcoming).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merauluka created an issue. See original summary.

merauluka’s picture

DamienMcKenna’s picture

Status: Active » Needs review
borisson_’s picture

Status: Needs review » Reviewed & tested by the community

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Committed.
Thanks, everyone!

Status: Fixed » Closed (fixed)

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