hosting.feature.server_data.inc

The hosting feature definition for server data example.

Functions

Namesort descending Description
hosting_server_data_hosting_feature Register a hosting feature with Aegir.

File

example/server_data/hosting.feature.server_data.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * The hosting feature definition for server data example.
  5. */
  6. /**
  7. * Register a hosting feature with Aegir.
  8. *
  9. * This will be used to generate the 'admin/hosting' page.
  10. *
  11. * @return array
  12. * associative array indexed by feature key.
  13. */
  14. function hosting_server_data_hosting_feature() {
  15. $features['server_data'] = array(
  16. 'title' => t('Server data example'),
  17. 'description' => t('Example implementation of saving data into a server context.'),
  18. 'status' => HOSTING_FEATURE_DISABLED,
  19. 'module' => 'hosting_server_data',
  20. 'group' => 'experimental',
  21. );
  22. return $features;
  23. }