function profile2_regpath_regpath_load_multiple in Profile2 Registration Path 7.2
Same name and namespace in other branches
- 7 profile2_regpath.module \profile2_regpath_regpath_load_multiple()
Implements 'load multiple' callback for regpath exportables.
2 calls to profile2_regpath_regpath_load_multiple()
File
- ./
profile2_regpath.module, line 305 - Attach profile2 form to registration form according to path.
Code
function profile2_regpath_regpath_load_multiple($conditions) {
// Prevent "Call to undefined function ctools_include()" error
module_load_include('module', 'ctools', 'ctools');
ctools_include('export');
$results = ctools_export_load_object('profile2_regpath', 'conditions', $conditions);
return array_filter($results);
}