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.
The $pane variable is not exists in ctools_content_get_defaults()
Comment | File | Size | Author |
---|---|---|---|
#1 | ctools-2036291.patch | 439 bytes | Sweetchuck |
Comments
Comment #1
SweetchuckSimple patch.
Comment #2
SweetchuckI think it would be better to pass the
$plugin
and$subtype
as well, because the origin of$defaults
is untraceable in the callback function.Like this:
And I don't know why the
$plugin
is stronger than the$subtype