You are here

function paymentform_field_is_empty in Payment 7

Implements hook_field_is_empty().

File

modules/paymentform/paymentform.module, line 180
Hook implementations and general functions.

Code

function paymentform_field_is_empty($item, array $field) {
  if ($field['type'] == 'paymentform') {
    return empty($item);
  }
}