function hosting_queued_hosting_feature in Hosting 7.3
Same name and namespace in other branches
- 6.2 queued/hosting.feature.queue_runner.inc \hosting_queued_hosting_feature()
- 7.4 queued/hosting.feature.queued.inc \hosting_queued_hosting_feature()
Register a hosting feature with Aegir.
This will be used to generate the 'admin/hosting' page.
Return value
associative array indexed by feature key.
File
- queued/
hosting.feature.queued.inc, line 16 - The hosting feature definition for the hosting queue daemon.
Code
function hosting_queued_hosting_feature() {
$features['queued'] = array(
// title to display in form
'title' => t('Hosting queue daemon'),
// description
'description' => t('Runs the hosting tasks queue as a daemonized process.'),
// initial status ( HOSTING_FEATURE_DISABLED, HOSTING_FEATURE_ENABLED, HOSTING_FEATURE_REQUIRED )
'status' => HOSTING_FEATURE_DISABLED,
// module to enable/disable alongside feature
'module' => 'hosting_queued',
// which group to display in ( null , experimental )
'group' => 'optional',
);
return $features;
}