function hosting_signup_hosting_feature in Hosting 7.3
Same name and namespace in other branches
- 5 signup/hosting.feature.signup.inc \hosting_signup_hosting_feature()
- 6.2 signup/hosting.feature.signup.inc \hosting_signup_hosting_feature()
- 7.4 signup/hosting.feature.signup.inc \hosting_signup_hosting_feature()
Implements hook_hosting_feature().
File
- signup/
hosting.feature.signup.inc, line 11 - Register a Hosting feature for the Sign-up module.osting feature for the Sign-up module.
Code
function hosting_signup_hosting_feature() {
$features['signup'] = array(
'title' => t('Sign up form'),
'description' => t('Provides a simpler signup form that can be opened to anonymous users.'),
'status' => HOSTING_FEATURE_DISABLED,
'module' => 'hosting_signup',
'group' => 'optional',
'role_permissions' => array(
'anonymous user' => array(
'access hosting signup form',
),
),
);
return $features;
}