You are here

function _commerce_file_limit_is_inherited in Commerce File 7

Returns TRUE if the limit is inherited

2 calls to _commerce_file_limit_is_inherited()
_commerce_file_limit_format_interval in includes/commerce_file.elements.inc
Returns limit formatted as an interval with consideration for UNLIMITED
_commerce_file_metadata_validate_limit_integer_positive_or_zero in ./commerce_file.module
Returns TRUE if value is a postive integer, 0, unlimited, or inherited

File

includes/commerce_file.elements.inc, line 403
Commerce File form elements

Code

function _commerce_file_limit_is_inherited($value) {
  return strcmp($value, COMMERCE_FILE_LIMIT_INHERITED) === 0;
}