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