You are here

function conditional_fields_content_admin_field_fieldset in Conditional Fields 6

Field editing form: conditional fields fieldset

2 calls to conditional_fields_content_admin_field_fieldset()
conditional_fields_content_admin_field_controllable in ./conditional_fields.module
Controllable field settings form
conditional_fields_content_admin_field_controlling in ./conditional_fields.module
Controlling field settings form (just a table containing information about controlled fields)

File

./conditional_fields.module, line 454
Content fields and groups visibility based on the values of user defined 'trigger' fields.

Code

function conditional_fields_content_admin_field_fieldset(&$form, $description, $collapsed = FALSE) {
  $form['conditional_fields'] = array(
    '#type' => 'fieldset',
    '#title' => t('Conditional fields settings'),
    '#tree' => TRUE,
    '#collapsible' => TRUE,
    '#collapsed' => $collapsed,
    '#description' => $description,
    '#weight' => 8,
    '#attributes' => array(
      'id' => 'conditional-fields-settings',
    ),
  );
}