Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've created a couple of custom style plugins with render callbacks that exactly mimic those found in the 'naked' style plugin. However, any panel pane with the custom style applied to it does not get run through template_preprocess_panels_pane(). I'd still like all of the normal preprocessing to apply. Is this intentional?
Comments
Comment #1
grasmash CreditAttribution: grasmash commentedAh. If you define no render callbacks, the style will default to using template_preprocess_panels_pane() and its related family of functions.
Comment #2
grasmash CreditAttribution: grasmash commentedCorrection, a render callback does need to be defined. Passing output directly to theme('panels_pane') does the trick.