1

I need to be able to verify if a panel page (which is just a variant of a ctools page) is enabled or disabled. How would one do this, programmatically? If it is disabled, how would one enable it, programmatically?

1

You can use

panels_load_display

Then check the disabled flag for page status.

  • How do you get the display id? – Lester Peabody Feb 4 '14 at 2:50

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.