diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-10 05:58:13 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-10 05:58:13 +0000 |
commit | f6ccf978f6fc256ca1f17bd8e6b1ae5be4fe8df2 (patch) | |
tree | ff1b9dcdb4d8c64fea7470194b5c36d0253f4260 /modules/user/user.module | |
parent | e916edc798f891fdb08e2fae9684afc02e3de9d3 (diff) | |
download | brdo-f6ccf978f6fc256ca1f17bd8e6b1ae5be4fe8df2.tar.gz brdo-f6ccf978f6fc256ca1f17bd8e6b1ae5be4fe8df2.tar.bz2 |
#488542 by yched: Allow field UI to be attached to any fieldable entity.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 277555038..3072ae2ef 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -89,8 +89,19 @@ function user_theme() { function user_fieldable_info() { $return = array( 'user' => array( - 'name' => t('User'), - 'id key' => 'uid', + 'label' => t('User'), + 'object keys' => array( + 'id' => 'uid', + ), + 'bundles' => array( + 'user' => array( + 'label' => t('User'), + 'admin' => array( + 'path' => 'admin/settings/user', + 'access arguments' => array('administer users'), + ), + ), + ), ), ); return $return; |