function hook_panopoly_magic_forms_to_improve_alter in Panopoly Magic 7
Alter the list of forms to improve.
Parameters
&$form_ids: The list of form ids for the forms that panopoly_magic will improve. Add or remove items from this list.
See also
https://www.drupal.org/node/2261061
1 invocation of hook_panopoly_magic_forms_to_improve_alter()
- panopoly_magic_form_alter in ./
panopoly_magic.module - Implements hook_form_alter()
File
- ./
panopoly_magic.api.php, line 21 - Hooks provided by Panopoly Magic.
Code
function hook_panopoly_magic_forms_to_improve_alter(&$form_ids) {
// If you added your own content type and want the extra form fields added to
// the fieldsets that panopoly_magic creates, you can add the form id of your
// settings form here.
$form_ids[] = 'my_module_widget_content_type_edit_form';
}