function uc_shipping_handler_field_shipment_id::options_form in Ubercart 7.3
Overrides views_handler::options_form().
Provides link to shipment administration page.
Overrides views_handler_field::options_form
File
- shipping/
uc_shipping/ views/ uc_shipping_handler_field_shipment_id.inc, line 37 - Shipment ID field handler.
Class
- uc_shipping_handler_field_shipment_id
- Field handler: simple renderer that links to the shipment page.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['link_to_shipment'] = array(
'#title' => t('Link this field to the shipment page'),
'#description' => t('This will override any other link you have set.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_shipment']),
);
}