function commerce_product_reference_handler_filter_product_line_item_type::option_definition in Commerce Core 7
Defaults the filter to True.
Overrides views_handler_filter_boolean_operator::option_definition
File
- modules/
product_reference/ includes/ views/ handlers/ commerce_product_reference_handler_filter_product_line_item_type.inc, line 10
Class
- commerce_product_reference_handler_filter_product_line_item_type
- Filter line items by whether or not they are of a product line item type.
Code
function option_definition() {
$options = parent::option_definition();
$options['value']['default'] = TRUE;
return $options;
}