You are here

function og_subgroups_views_handler_argument_parent::options_form in Subgroups for Organic groups 6

File

modules/og_subgroups_views/includes/og_subgroups_views_handler_argument_parent.inc, line 10

Class

og_subgroups_views_handler_argument_parent

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  // Remove unwanted options
  unset($form['not']);
  $form['include_parent'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include the parent'),
    '#description' => t('If selected, the parent group specified in the argument will be added to the output.'),
    '#default_value' => $this->options['include_parent'],
  );
}