Hi Guys!

Thank you for this really great module! It's only the first dev version, but works correctly.
I found a little notice, when I m in the "Patterns" section of the admin page.
I hope that, my code helps:

function pathauto_entity_form_pathauto_patterns_form_alter(&$form, &$form_state) {
  if (variable_get('pathauto_entity_collapse_fieldsets', TRUE)) {
    foreach (element_children($form) as $element_key) {
      if (isset($form[$element_key]['#type']) == 'fieldset') {
        $form[$element_key]['#collapsible'] = TRUE;
        $form[$element_key]['#collapsed'] = TRUE;
      }
    }
  }
}

Regards:
Balint

Comments

maciej.zgadzaj’s picture

Status: Needs review » Fixed

Thanks for reporting. Fixed and pushed to d.o.

Status: Fixed » Closed (fixed)

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