function profile2_regpath_permission in Profile2 Registration Path 7
Same name and namespace in other branches
- 7.2 profile2_regpath.module \profile2_regpath_permission()
Implements hook_permission().
File
- ./
profile2_regpath.module, line 108 - Attach profile2 form to registration form according to path.
Code
function profile2_regpath_permission() {
$permissions = array(
'administer profile2_regpath' => array(
'title' => t('Administer Profile2 registration paths'),
'description' => t('Enable and configure unique registration paths per Profile2 profile type.'),
),
);
return $permissions;
}