Attached patch adds the missing bits in field.api.php for the "Field type API" part.
It also removes unneeded (default) behaviors in core field types. They are kept in the hooks sample code, but should do not need to cruft the actual code.

Comments

yched’s picture

StatusFileSize
new30.25 KB

Oopsie, forgot a note-to-self TODO. Fixed.

Status: Needs review » Needs work

The last submitted patch failed testing.

yched’s picture

Status: Needs work » Needs review
StatusFileSize
new30.24 KB
yched’s picture

StatusFileSize
new30.24 KB

Fixed a tiny copy/paste error.

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

many thanks for loving the docs.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

int’s picture

Status: Fixed » Reviewed & tested by the community

This issue isn't committed..

Commit #245754 by Dries at 08:03
Drupal: /profiles/default/default.profile 1.59

  - Patch #528182 by yched: added missing field type documentation and removed some unnessary code.
yched’s picture

Status: Reviewed & tested by the community » Fixed

Nope, it's OK : http://drupal.org/cvs?commit=245752
The same commit message has been reused for an unrelated commit. That's only Dries secretly pushing me to the top of the core D7 contributers list ;-)

Status: Fixed » Closed (fixed)

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