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 1


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) {

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.