function lingotek_wrap_in_fieldset in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.admin.inc \lingotek_wrap_in_fieldset()
- 7.5 lingotek.admin.inc \lingotek_wrap_in_fieldset()
- 7.6 lingotek.admin.inc \lingotek_wrap_in_fieldset()
1 call to lingotek_wrap_in_fieldset()
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,
);
}