hosting.feature.signup.inc

Register a Hosting feature for the Sign-up module.osting feature for the Sign-up module.

Functions

File

signup/hosting.feature.signup.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Register a Hosting feature for the Sign-up module.osting feature for
  5. * the Sign-up module.
  6. */
  7. /**
  8. * Implements hook_hosting_feature().
  9. */
  10. function hosting_signup_hosting_feature() {
  11. $features['signup'] = array(
  12. 'title' => t('Sign up form'),
  13. 'description' => t('Provides a simpler signup form that can be opened to anonymous users.'),
  14. 'status' => HOSTING_FEATURE_DISABLED,
  15. 'module' => 'hosting_signup',
  16. 'group' => 'optional',
  17. 'role_permissions' => array(
  18. 'anonymous user' => array(
  19. 'access hosting signup form',
  20. ),
  21. ),
  22. );
  23. return $features;
  24. }