You are here

function commerce_product_reference_handler_filter_product_line_item_type::value_form in Commerce Core 7

Adds a meaningful title to the value form element.

Overrides views_handler_filter_boolean_operator::value_form

File

modules/product_reference/includes/views/handlers/commerce_product_reference_handler_filter_product_line_item_type.inc, line 19

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 value_form(&$form, &$form_state) {
  parent::value_form($form, $form_state);
  $form['value']['#title'] = t('Line item is of a product line item type');
}