function user_features_api in Features 7
Same name and namespace in other branches
- 6 includes/features.user.inc \user_features_api()
- 7.2 includes/features.user.inc \user_features_api()
Implements hook_features_api().
File
- includes/
features.user.inc, line 6
Code
function user_features_api() {
return array(
'user_role' => array(
'name' => t('Roles'),
'feature_source' => TRUE,
'default_hook' => 'user_default_roles',
'default_file' => FEATURES_DEFAULTS_INCLUDED,
),
'user_permission' => array(
'name' => t('Permissions'),
'feature_source' => TRUE,
'default_hook' => 'user_default_permissions',
'default_file' => FEATURES_DEFAULTS_INCLUDED,
),
);
}