You are here

function hosting_site_data_hosting_feature in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 example/site_data/hosting.feature.site_data.inc \hosting_site_data_hosting_feature()
  2. 7.3 example/site_data/hosting.feature.site_data.inc \hosting_site_data_hosting_feature()

Register a hosting feature with Aegir.

This will be used to generate the 'admin/hosting' page.

Return value

array associative array indexed by feature key.

File

example/site_data/hosting.feature.site_data.inc, line 17
The hosting feature definition for site data example.

Code

function hosting_site_data_hosting_feature() {
  $features['site_data'] = array(
    'title' => t('Site data example'),
    'description' => t('Example implementation of saving data into a site context.'),
    'status' => HOSTING_FEATURE_DISABLED,
    'module' => 'hosting_site_data',
    'group' => 'experimental',
  );
  return $features;
}