Posted by yched on June 27, 2009 at 12:54am
4 followers
Jump to:
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | field system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | Fields in Core |
Issue Summary
Once #502522: Allow drupal_alter() on the various Field API declarative hooks is in, there's no need for a separate (currently non cached) hook_field_build_modes().
The list of build modes can be added to hook_fieldable_info(), and modules that add build modes to existing object types can use hook_fieldable_info_alter()
Comments
#1
I found http://drupal.org/node/584296 that references the same hook. The handbook page may need checking?
#2
build modes (that is, 'view modes', now) have been moved to hook_entity_info() in a separate issue.
Re #1: I don't think I get what you mean - wrong link ?
#3
Ooops wrong cut and paste http://drupal.org/node/474582
#4
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
#6
Unclear why this was reopened.
#7
The comment in the link in #3 talked about
hook_fieldable_infohaving been deprecated byhook_entity_info. So I was thinking that the handbook page needed checking. I did a search here on D.o for the term 'hook_fieldable_info' and came across this thread. Thinking that the people discussing this thread were the experts I thought they may have been able to check that handbook page and update it, or put an issue in the documentation queue about it.#8
Automatically closed -- issue fixed for 2 weeks with no activity.