hosting.feature.quota.inc in Hosting 7.3
Same filename and directory in other branches
Expose the quota feature to hostmaster.
File
quota/hosting.feature.quota.incView source
<?php
/**
* @file
* Expose the quota feature to hostmaster.
*/
/**
* Implements hook_hosting_feature().
*/
function hosting_quota_hosting_feature() {
$features['quota'] = array(
'title' => t('Quotas'),
'description' => t('Provides the ability to define and allocate quotas for various resources to clients.'),
'status' => HOSTING_FEATURE_DISABLED,
'module' => 'hosting_quota',
'group' => 'experimental',
'role_permissions' => array(
'aegir administrator' => array(
'bypass all quotas',
),
'aegir account manager' => array(
'edit all quotas',
'view all quotas',
'view own quota',
),
'aegir client' => array(
'view own quota',
),
),
);
return $features;
}
Functions
Name | Description |
---|---|
hosting_quota_hosting_feature | Implements hook_hosting_feature(). |