hosting.feature.queued.inc

The hosting feature definition for the hosting queue daemon.

Functions

Namesort descending Description
hosting_queued_hosting_feature Register a hosting feature with Aegir.

File

queued/hosting.feature.queued.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * The hosting feature definition for the hosting queue daemon.
  5. */
  6. /**
  7. * Register a hosting feature with Aegir.
  8. *
  9. * This will be used to generate the 'admin/hosting' page.
  10. *
  11. * @return
  12. * associative array indexed by feature key.
  13. */
  14. function hosting_queued_hosting_feature() {
  15. $features['queued'] = array(
  16. // title to display in form
  17. 'title' => t('Hosting queue daemon'),
  18. // description
  19. 'description' => t('Runs the hosting tasks queue as a daemonized process.'),
  20. // initial status ( HOSTING_FEATURE_DISABLED, HOSTING_FEATURE_ENABLED, HOSTING_FEATURE_REQUIRED )
  21. 'status' => HOSTING_FEATURE_DISABLED,
  22. // module to enable/disable alongside feature
  23. 'module' => 'hosting_queued',
  24. // which group to display in ( null , experimental )
  25. 'group' => 'optional',
  26. );
  27. return $features;
  28. }