I was writing a content type plugin based on the ctools plugin example code, the edit form for my plugin was not displaying anything and later realized that the code produces a warning on:

Warning: Parameter 1 to infomex_solicitudes_content_type_edit_form() expected to be a reference, value given in drupal_retrieve_form() (line 773 of /var/www/Transparencia/includes/form.inc).

So the problem was that the form parameter is not passed by reference. Here is a small patch.

CommentFileSizeAuthor
ctools_plugin_example.patch2.9 KBjackbravo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jackbravo’s picture

Status: Active » Needs review

it is just a fix to the ctools plugin example.

merlinofchaos’s picture

Status: Needs review » Fixed

Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.