function og_handler_field_og_membership_link_edit::options_form in Organic groups 7.2
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
views/ handlers/ og_handler_field_og_membership_link_edit.inc, line 27 - Definition of og_handler_field_og_membership_link_edit.
Class
- og_handler_field_og_membership_link_edit
- Field handler to present a link to edit membership.
Code
function options_form(&$form, &$form_state) {
$form['text'] = array(
'#type' => 'textfield',
'#title' => t('Text to display'),
'#default_value' => $this->options['text'],
);
$form['destination'] = array(
'#type' => 'checkbox',
'#title' => t('Use destination'),
'#description' => t('Add destination to the link'),
'#default_value' => $this->options['destination'],
'#fieldset' => 'more',
);
parent::options_form($form, $form_state);
}