hosting.feature.hosting_site_backup_manager.inc in Hosting Site Backup Manager 7.3
Same filename and directory in other branches
The hosting feature definition for the backup manager.
File
hosting.feature.hosting_site_backup_manager.incView source
<?php
/**
* @file
* The hosting feature definition for the backup manager.
*/
/**
* Register a hosting feature with Aegir.
*
* This will be used to generate the 'admin/hosting' page.
*
* @return
* associative array indexed by feature key.
*/
function hosting_site_backup_manager_hosting_feature() {
$features['backup_manager'] = array(
// title to display in form
'title' => t('Backup Manager'),
// description
'description' => t('Allows more control over backups.'),
// initial status ( HOSTING_FEATURE_DISABLED, HOSTING_FEATURE_ENABLED, HOSTING_FEATURE_REQUIRED )
'status' => HOSTING_FEATURE_DISABLED,
// module to enable/disable alongside feature
'module' => 'hosting_site_backup_manager',
// associate with a specific node type.
// 'node' => 'nodetype',
// which group to display in ( null , experimental )
'group' => 'experimental',
);
return $features;
}
Functions
Name![]() |
Description |
---|---|
hosting_site_backup_manager_hosting_feature | Register a hosting feature with Aegir. |