Re: #1. - http://drupal.org/node/536600
panels_get_current_page_display()
Is there a similar function in page manager that returns a 'page' object? If not, I guess this would be feature request.
Re: #1. - http://drupal.org/node/536600
panels_get_current_page_display()
Is there a similar function in page manager that returns a 'page' object? If not, I guess this would be feature request.
Comments
Comment #1
merlinofchaos commentedI think it's page_manager_get_current_page()
Comment #2
gg4 commentedThanks for the quick reply.
Maybe this is really obvious and I am just missing it, but is there official API documentation for ctools and panels?
Comment #3
merlinofchaos commentedNot at the moment. The Panels 2 API stuff is woefully out of date and there is not yet proper documentation.