I need to paste full front page of Drupal site to other page. Can I get page render array for front page for example in html.tpl of not-front page? Thanks!
1 Answer
You can install Devel module and enable "Display $page array" on Devel settings page (/devel/settings).
Or you can implement hook_page_build() to get $page array:
YOURMODULE_page_build(&$page) {
print_r($page);
}