You are here

function _commerce_file_field_setting_is_unlimited in Commerce File 7

Check if field limit setting value is set to Unlimited

File

includes/commerce_file.field.inc, line 614
Implement an commerce_file field, based on the file module's file field.

Code

function _commerce_file_field_setting_is_unlimited($value) {
  return strcmp($value, COMMERCE_FILE_FIELD_UNLIMITED) === 0;
}