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

Anonymous’s picture

I found http://drupal.org/node/584296 that references the same hook. The handbook page may need checking?

yched’s picture

Status: Active » Fixed

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 ?

Anonymous’s picture

Ooops wrong cut and paste http://drupal.org/node/474582

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Status: Closed (fixed) » Needs review
moshe weitzman’s picture

Status: Needs review » Fixed

Unclear why this was reopened.

Anonymous’s picture

The comment in the link in #3 talked about hook_fieldable_info having been deprecated by hook_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.

Status: Fixed » Closed (fixed)
Issue tags: -Fields in Core

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