function profile2_regpath_regpath_load_all in Profile2 Registration Path 7
Same name and namespace in other branches
- 7.2 profile2_regpath.module \profile2_regpath_regpath_load_all()
Implements 'load all' callback for regpath exportables.
1 call to profile2_regpath_regpath_load_all()
- profile2_regpath_menu in ./
profile2_regpath.module - Implements hook_menu().
File
- ./
profile2_regpath.module, line 271 - 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);
}