It would be nice if the Email settings field was exposed to the field API through the hook_field_extra_fields() option, so it becomes available in the list in the Manage fields tab (admin/config/people/accounts/fields) and can be easily positioned to other fields in the user profile.

A good example of how this can be done is in the i18n project, method i18n_node_field_extra_fields().

Files: 
CommentFileSizeAuthor
#2 mimemail_1283620_02.patch1.28 KBsgabe
#1 1283620-1.patch1.47 KBCyberwolf

Comments

Cyberwolf’s picture

Status:Active» Needs review
StatusFileSize
new1.47 KB

Attaching a patch.

sgabe’s picture

Title:expose Email settings user field to field API» Expose email settings user field to field API
Status:Needs review» Fixed
StatusFileSize
new1.28 KB

Thanks Cyberwolf! The attached patch has been committed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

chaloum’s picture

wow the patch was committed in 2011 has it bee released? because its still an issue

apperceptions’s picture

Status:Closed (fixed)» Active

This is still an open issue. Re activating.

sgabe’s picture

How is this still an issue when the patch is committed for almost two years now?

sgabe’s picture

Issue summary:View changes
Status:Active» Closed (fixed)

Closing again due to no response. If you encounter any similar issue and decide to reopen, please provide more details.