function hosting_queued_hosting_feature in Hosting 6.2
Same name and namespace in other branches
- 7.4 queued/hosting.feature.queued.inc \hosting_queued_hosting_feature()
- 7.3 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.queue_runner.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',
// associate with a specific node type.
// 'node' => 'nodetype',
'group' => 'optional',
);
return $features;
}