You are here

function fpa_fieldset in Fast Permissions Administration 6.2

Same name and namespace in other branches
  1. 7.2 fpa.module \fpa_fieldset()
2 calls to fpa_fieldset()
fpa_form_content_field_edit_form_alter in ./fpa.module
fpa_form_node_type_form_alter in ./fpa.module

File

./fpa.module, line 73

Code

function fpa_fieldset($permission, &$parent_item) {
  $parent_item['fpa_fieldset'] = array(
    '#type' => 'fieldset',
    '#title' => t('Permissions'),
    '#collapsible' => TRUE,
    '#collapsed' => FALSE,
    '#description' => t('Clicking on this link will launch a modal/tab/window displaying the appropriate permissions.'),
  );
  $parent_item['fpa_fieldset']['fpa'] = array(
    '#type' => 'markup',
    '#value' => fpa_l($permission),
  );
}