function commerce_product_handler_field_product_type::options_form in Commerce Core 7
Provide the link to product option.
Overrides commerce_product_handler_field_product::options_form
File
- modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_type.inc, line 15
Class
- commerce_product_handler_field_product_type
- Field handler to translate a product type into its readable form.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['use_raw_value'] = array(
'#title' => t('Use raw value'),
'#description' => t('Check if you want to display the raw value instead of the human readable value.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['use_raw_value']),
);
}