You are here

hosting.feature.site.inc in Hosting 6.2

Same filename and directory in other branches
  1. 7.4 site/hosting.feature.site.inc
  2. 7.3 site/hosting.feature.site.inc

Expose the site feature to hostmaster.

File

site/hosting.feature.site.inc
View source
<?php

/**
 * @file
 *   Expose the site feature to hostmaster.
 */

/**
 * Implementation of hook_hosting_feature().
 */
function hosting_site_hosting_feature() {
  $features['site'] = array(
    'title' => t('Site administration'),
    'description' => t('Create and manage sites.'),
    'status' => HOSTING_FEATURE_REQUIRED,
    'module' => 'hosting_site',
    'node' => 'site',
    'group' => 'required',
  );
  return $features;
}

Functions

Namesort descending Description
hosting_site_hosting_feature Implementation of hook_hosting_feature().