function panels_everywhere_set_site_template in Panels Everywhere 6
Same name and namespace in other branches
- 7 panels_everywhere.module \panels_everywhere_set_site_template()
Manually set the template to use.
This can be used to force the page to use the specified template rather than going through the access rules.
Parameters
$handler: The name of the task handler to use.
1 call to panels_everywhere_set_site_template()
- panels_everywhere_ctools_render_alter in ./
panels_everywhere.module - When a Page Manager page is rendered, set the selected site template if it has been chosen.
File
- ./
panels_everywhere.module, line 248 - panels_everywhere.module
Code
function panels_everywhere_set_site_template($handler) {
$store =& ctools_static('panels_everywhere_site_template');
$store = $handler;
}