function hook_hosting_quota_resource

7.x-3.x hosting_quota.api.php hook_hosting_quota_resource()

Definition of hook_hosting_quota_resource

Related topics

1 function implements hook_hosting_quota_resource()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

hosting_site_hosting_quota_resource in site/hosting_site.quota.inc
Implements hook_hosting_quota_resource().
5 invocations of hook_hosting_quota_resource()
hosting_quota_admin_client_list in quota/hosting_quota.admin.inc
Page callback for admin/hosting/quotas
hosting_quota_admin_defaults_form in quota/hosting_quota.admin.inc
Callback for admin/hosting/quotas/defaults
hosting_quota_form_alter in quota/hosting_quota.module
Insert edit controls for the hosting quotas into the client edit form
hosting_quota_get in quota/hosting_quota.module
Get info about hosting quotas
hosting_quota_get_all_info in quota/hosting_quota.module
@todo Please document this function.

File

quota/hosting_quota.api.php, line 16
Hooks provided by the hosting quota module.

Code

function hook_hosting_quota_resource() {
  $resources = array();

  $resources['foo'] = array(
    'title' => t('Foo'),
    'description' => t('Limit for foo. Enter in 23rds of foo units.'),
    'module' => 'hook',
  );

  return $resources;
}