Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
25 Apr 2011 at 19:49 UTC
Updated:
29 Jul 2014 at 19:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bfroehle commentedSo it's a documentation bug. text_field_schema does, of course, use the correct definition:
Tagging this as Novice, as it should be straightforward to update the example code in field.api.php to better match the text_field_schema example.
Comment #2
damien tournoud commentedTriaging.
Comment #3
jhodgdonupdating title. So the task here is to patch the example function body for hook_field_schema() so it uses the correct 'format' component, which you can find in text_field_schema().
Comment #4
Anonymous (not verified) commentedTagging as mine for now, I'm going to be showing 3 people how to roll patches tomorrow and will use this as an example.
Comment #5
barbi commentedNewbie to Drupal looking for novice tickets.
Please assign this ticket to me, if think someone else can work on it. Thanks.
Comment #6
Anonymous (not verified) commentedAwesome, thanks barbi! I'll be happy to review when you've posted a patch.
Comment #7
barbi commentedComment #8
jhodgdonI don't think this is quite right. We need the 'format' piece to look like the example in comment #1 above.
Comment #9
barbi commentedChanged the "format" array to example in comment #1
Comment #10
barbi commentedComment #11
jhodgdonLooks good! Thanks for all the patching, barbi! Please commit to d8/7.
Comment #12
webchickCommitted to 8.x and 7.x. Thanks!