You are here

function lingotek_wrap_in_fieldset in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lingotek.admin.inc \lingotek_wrap_in_fieldset()
  2. 7.5 lingotek.admin.inc \lingotek_wrap_in_fieldset()
  3. 7.6 lingotek.admin.inc \lingotek_wrap_in_fieldset()
1 call to lingotek_wrap_in_fieldset()
lingotek_admin_configuration_view in ./lingotek.admin.inc

File

./lingotek.admin.inc, line 1999

Code

function lingotek_wrap_in_fieldset($form, $title) {
  return array(
    '#type' => 'fieldset',
    '#group' => 'lingotek',
    '#title' => t($title),
    '#attributes' => array(
      'class' => array(
        'lingotek-' . strtolower(str_replace(' ', '-', $title)),
      ),
    ),
    'children' => $form,
  );
}