The export UI documentation at /help/export-ui.html gives this as an example:
'handler' => array(
'class' => 'ctools_export_ui_example',
'parent' => 'ctools_export_ui',
),
I can't find anywhere in the ctools code where ['handler']['parent'] is used. Also, removing the parent from my plugin definition (Export UI) does not break anything, so I'm wondering if it's old cruft and could be removed from plugin definition.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1985264_2_ctools_parent.patch | 303 bytes | scor |
Comments
Comment #1
merlinofchaos commentedThat is old cruft and was needed in D6 where Drupal did not have a class registry for autoload. You are correct that it can be removed.
Comment #2
scor commentedok, I've rolled a patch for D7. Are there other places where this is documented and where we need to fix this?
Comment #3
scor commentedComment #5
chris matthews commentedThe 6 year old patch in #2 to export-ui.html still applies cleanly to the latest ctools 7.x-1.x-dev, but still needs to be officially reviewed and tested by the community.
Applied patch help/export-ui.html cleanly.Comment #6
mustanggb commentedComment #7
japerryDrupal 7 is no longer supported, closing.