You are here

function commerce_file_handler_field_license_property::options_form in Commerce File 7

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

1 call to commerce_file_handler_field_license_property::options_form()
commerce_file_handler_field_license_duration::options_form in views/handlers/commerce_file_handler_field_license_duration.inc
Default options form provides the label widget that all fields should have.
1 method overrides commerce_file_handler_field_license_property::options_form()
commerce_file_handler_field_license_duration::options_form in views/handlers/commerce_file_handler_field_license_duration.inc
Default options form provides the label widget that all fields should have.

File

views/handlers/commerce_file_handler_field_license_property.inc, line 26
Contains the license entity property field handler.

Class

commerce_file_handler_field_license_property
Field handler to provide access to non database entity properties.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['unlimited_text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display for unlimited value'),
    '#default_value' => $this->options['unlimited_text'],
  );
}