function user_features_api in Features 6
Same name and namespace in other branches
- 7.2 includes/features.user.inc \user_features_api()
- 7 includes/features.user.inc \user_features_api()
Implementation of 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,
),
// DEPRECATED
'user' => array(
'name' => t('Permissions'),
'feature_source' => FALSE,
),
);
}