1

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!

0

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);
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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