function views_handler_field_node_registration_capacity::options_form in Node registration 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
views/ views_handler_field_node_registration_capacity.inc, line 21
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['unlimited_text'] = array(
'#type' => 'textfield',
'#title' => t('Unlimited text'),
'#description' => t('Text to use for unlimited capacity. Defaults to "0". Text will be translated otherwise.'),
'#default_value' => $this->options['unlimited_text'],
);
}