You are here

function finder_fieldset_element in Finder 7.2

Element callback.

1 string reference to 'finder_fieldset_element'
fieldset.inc in plugins/element_handler/fieldset.inc
The finder fieldset element handler plugin.

File

plugins/element_handler/fieldset.inc, line 64
The finder fieldset element handler plugin.

Code

function finder_fieldset_element($element, &$form_element, $form_state) {
  $finder = $element->finder;
  $form_element['#type'] = 'fieldset';
  $form_element['#collapsible'] = $finder
    ->esetting($element, 'collapsible');
  $form_element['#collapsed'] = $finder
    ->esetting($element, 'collapsed');
}