You are here

function panels_everywhere_edit_site_template in Panels Everywhere 7

Same name and namespace in other branches
  1. 6 panels_everywhere.module \panels_everywhere_edit_site_template()

Callback to edit our site template.

This is just a pass-through that allows us to add a special tab to make it easier to edit the site template.

1 string reference to 'panels_everywhere_edit_site_template'
panels_everywhere_menu in ./panels_everywhere.module
Implement hook_menu().

File

./panels_everywhere.module, line 266
panels_everywhere.module

Code

function panels_everywhere_edit_site_template() {
  ctools_include('context');
  ctools_include('page_manager.admin', 'page_manager', '');
  return page_manager_edit_page(page_manager_get_page_cache('site_template'));
}