function key_features_api in Key 7.2
Same name and namespace in other branches
- 7.3 key.module \key_features_api()
- 7 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 509 - Provides the ability to manage keys, which can be used by other modules.
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,
),
);
}