Skip to Content
RSSGrab the RSS feed! ->

Panels

How to load panel pages from code

They will load faster, it's easier for deployment, and you'll be able have them under version control.

We all know that you can load views from code, and it is even recommended. But what about Panels pages? It is also possible. And actually, it's quite easy.

Let's say that you have reached a beta stage for these pages, and you are ready to start having these under version control so you can sleep better at night.

1. Create the module that will load these pages

panels_default_pages_file_structure.png

10 responses to this article.

Syndicate content

Languages

Contact