You are here

function _commerce_file_field_setting_is_inherited in Commerce File 7

Check if field limit setting value is set to Unlimited

1 call to _commerce_file_field_setting_is_inherited()
_commerce_file_license_resolve_setting_value in includes/commerce_file.field.inc
Resolves license settings values with inheritance of instance settings

File

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

Code

function _commerce_file_field_setting_is_inherited($value) {
  return strcmp($value, COMMERCE_FILE_FIELD_INHERIT) === 0;
}