function og_subgroups_views_handler_argument_gid::options_form in Subgroups for Organic groups 6
File
- modules/
og_subgroups_views/ includes/ og_subgroups_views_handler_argument_gid.inc, line 11
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
// Remove unwanted options
unset($form['not']);
$form['build_directions'] = array(
'#type' => 'checkboxes',
'#title' => t('Build Direction'),
'#description' => t('Retrieve groups in the direction specified using the argument(s) as a starting point.'),
'#required' => TRUE,
'#options' => array(
'parents' => t('Parents'),
'children' => t('Children'),
'siblings' => t('Siblings'),
),
'#default_value' => $this->options['build_directions'],
);
$form['include_argument'] = array(
'#type' => 'checkbox',
'#title' => t('Include the argument'),
'#description' => t('If selected, the group(s) specified in the argument(s) will be added to the output.'),
'#default_value' => $this->options['include_argument'],
);
}