function commerce_line_item_field_widget_error in Commerce Core 7
Implements hook_field_widget_error().
File
- modules/
line_item/ commerce_line_item.module, line 1343 - Defines the core Commerce line item entity and API functions interact with line items on orders.
Code
function commerce_line_item_field_widget_error($element, $error) {
form_error($element, $error['message']);
}