You are here

hosting.feature.server_data.inc in Hosting 7.4

Same filename and directory in other branches
  1. 7.3 example/server_data/hosting.feature.server_data.inc

The hosting feature definition for server data example.

File

example/server_data/hosting.feature.server_data.inc
View source
<?php

/**
 * @file
 * The hosting feature definition for server data example.
 */

/**
 * Register a hosting feature with Aegir.
 *
 * This will be used to generate the 'admin/hosting' page.
 *
 * @return array
 *   associative array indexed by feature key.
 */
function hosting_server_data_hosting_feature() {
  $features['server_data'] = array(
    'title' => t('Server data example'),
    'description' => t('Example implementation of saving data into a server context.'),
    'status' => HOSTING_FEATURE_DISABLED,
    'module' => 'hosting_server_data',
    'group' => 'experimental',
  );
  return $features;
}

Functions

Namesort descending Description
hosting_server_data_hosting_feature Register a hosting feature with Aegir.