function hosting_server_data_hosting_feature in Hosting 7.4
Same name and namespace in other branches
- 7.3 example/server_data/hosting.feature.server_data.inc \hosting_server_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/
server_data/ hosting.feature.server_data.inc, line 17 - The hosting feature definition for server data example.
Code
function hosting_server_data_hosting_feature() {
$features['server_data'] = array(
'title' => t('Server data example'),
'description' => t('Example implementation of saving data into a server context.'),
'status' => HOSTING_FEATURE_DISABLED,
'module' => 'hosting_server_data',
'group' => 'experimental',
);
return $features;
}