You are here

function variable_realm_features_api in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_realm/variable_realm.module \variable_realm_features_api()

Implements hook_features_api().

File

variable_realm/variable_realm.module, line 469
Variable API module - Realms

Code

function variable_realm_features_api() {
  $components = array(
    'variable_realm' => array(
      'name' => t('Realm variables'),
      'default_hook' => 'variable_realm_default_variables',
      'default_file' => FEATURES_DEFAULTS_CUSTOM,
      'default_filename' => 'variable',
      'features_source' => TRUE,
      'file' => drupal_get_path('module', 'variable_realm') . '/variable_realm.features.inc',
    ),
  );
  return $components;
}