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

1 Answer 1

1

You can use

panels_load_display

Then check the disabled flag for page status.

1
  • How do you get the display id? Commented Feb 4, 2014 at 2:50

Your Answer

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

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