You are here

function commerce_file_handler_filter_file_product_type::value_form in Commerce File 7

Adds a meaningful title to the value form element.

Overrides views_handler_filter_boolean_operator::value_form

File

views/handlers/commerce_file_handler_filter_file_product_type.inc, line 19

Class

commerce_file_handler_filter_file_product_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('Product is a product type with Commerce File fields');
}