function _wfm_is_multiple in Webform Multiple (WFM) 7
Check whether a component takes multiple values.
2 calls to _wfm_is_multiple()
- _wfm_is_multiple_recursive in ./
wfm.module - Check whether a component, or any of its ancestors, takes multiple values.
- _wfm_process_elements in ./
wfm.module - Process an element in the Webform to allow multiple values.
File
- ./
wfm.module, line 714 - Main module file for Webform Multiple (WFM).
Code
function _wfm_is_multiple(array $component) {
$max_items = _wfm_get_max_items($component);
return $max_items > 1 || $max_items == WFM_UNLIMITED;
}