You are here

function key_features_api in Key 7.3

Same name and namespace in other branches
  1. 7 key.module \key_features_api()
  2. 7.2 key.module \key_features_api()

Implements hook_features_api().

Define the components that we want to make exportable, in this case key configurations.

File

./key.module, line 930
Main Key functionality and hook implementations.

Code

function key_features_api() {
  return array(
    'key_config' => array(
      'name' => 'Keys',
      'file' => drupal_get_path('module', 'key') . '/includes/key_config.features.inc',
      'default_hook' => 'key_default_configs',
      'feature_source' => TRUE,
    ),
  );
}