You are here

function oa_core_views_handler_argument_numeric_og_membership_gid::options_form in Open Atrium Core 7.2

Build the options form.

Overrides views_handler_argument_numeric::options_form

File

plugins/views/oa_core_views_handler_argument_numeric_og_membership_gid.inc, line 24
Definition of views_handler_argument_numeric.

Class

oa_core_views_handler_argument_numeric_og_membership_gid
Basic argument handler for arguments that are numeric. Incorporates break_phrase.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['oa_subspaces_expand'] = array(
    '#type' => 'checkbox',
    '#title' => t('Expand'),
    '#description' => t('If selected, the argument will be expanded to include inheriting parent GIDs, with assumption that this is a node GID'),
    '#default_value' => !empty($this->options['oa_subspaces_expand']),
    '#fieldset' => 'more',
  );
}