protected function Length::defineOptions in Ubercart 8.4
Information about options for all kinds of purposes will be held here.
'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),
Return value
array Returns the options of this handler/plugin.
Overrides NumericField::defineOptions
File
- uc_store/src/ Plugin/ views/ field/ Length.php, line 21 
Class
- Length
- Field handler to provide formatted lengths.
Namespace
Drupal\uc_store\Plugin\views\fieldCode
protected function defineOptions() {
  $options = parent::defineOptions();
  $options['format'] = [
    'default' => 'uc_length',
  ];
  return $options;
}