function fpa_fieldset in Fast Permissions Administration 7.2
Same name and namespace in other branches
- 6.2 fpa.module \fpa_fieldset()
1 call to fpa_fieldset()
- fpa_form_node_type_form_alter in ./
fpa.form_alter.inc - Implements hook_form_FORM_ID_alter().
File
- ./
fpa.module, line 119 - Main module file for FPA.
Code
function fpa_fieldset($filter_string, &$parent_item, $group = array()) {
$parent_item['fpa_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Permissions'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#description' => t('Clicking on this link will launch a modal/tab/window displaying the appropriate permissions.'),
);
$parent_item['fpa_fieldset'] = array_merge_recursive($parent_item['fpa_fieldset'], $group);
$parent_item['fpa_fieldset']['fpa'] = array(
'#type' => 'markup',
'#markup' => fpa_l($filter_string),
);
}