function commerce_price_table_field_is_empty in Commerce Price Table 7
Implementation of hook_field_is_empty().
File
- ./
commerce_price_table.module, line 254
Code
function commerce_price_table_field_is_empty($item, $field) {
return !isset($item['amount']) || (string) $item['amount'] == '';
}