You are here

function commerce_customer_field_widget_error in Commerce Core 7

Implements hook_field_widget_error().

File

modules/customer/commerce_customer.module, line 1254
Defines the customer profile entity and API functions to manage customers and interact with them.

Code

function commerce_customer_field_widget_error($element, $error) {
  form_error($element, $error['message']);
}