I'm using a custom made module that does not appear to be configurable by Multistep. I'm wondering what exactly it needs for Multistep to be able to assign it a position in the "extra fields" area of the content type edit form.

Is there something in form_alter I need to add?

Comments

sansui’s picture

Figured it out. Probably would be better to have the weight pulled from a variable, but this was quick and dirty. Code included for anyone that might have similar thoughts

/**
 * Implementation of hook_content_extra_fields().
 */
function mymodule_content_extra_fields($type_name) {
  $fields['field_my_module'] = array(
    'label' => t('My Module Weight'),
    'description' => t('My Module Form'),
    'weight' => 30,
  );
  return $fields;
}
vkareh’s picture

Status: Active » Fixed

Awesome! Thanks for documenting this! I included it in the documentation page (http://drupal.org/node/529976) as well as a link to this post on the README.txt.

Status: Fixed » Closed (fixed)

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