API page: http://api.drupal.org/api/drupal/modules%21field%21field.api.php/functio...
Enter a descriptive title (above) relating to hook_field_widget_form_alter, then describe the problem you have found:
The link to hook_field_widget_WIDGET_TYPE_form_alter is not linked in the API documentation.
/**
// Currently
* @see hook_field_widget_WIDGET_TYPE_form_alter
// should be
* @see hook_field_widget_WIDGET_TYPE_form_alter()
*/
OT: Is there an issue for introducing some form of PHPDoc documentation about version-compatibility? It seems hook_field_widget_form_alter() was introduced in 7.8 and were it not for someone who posted that info as a comment I wouldn't know that.
EDIT: Fix inline PHP code
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-field-api-doc-1533498-3.patch | 1.58 KB | jmarkel |
Comments
Comment #1
tstoecklerComment #1.0
tstoecklerUpdated issue summary.
Comment #2
jhodgdonRE your OT question, there's an issue about @since that you can probably find in the Drupal Core issue queue.
Meanwhile, this issue needs a patch. Thanks for reporting it!
Comment #3
jmarkel CreditAttribution: jmarkel commentedHere's a shot at it ...
Comment #4
jhodgdonNice! Extra credit for the good cleanup. I'll get this committed sometime soon. :)
Comment #5
jhodgdonCommitted to 8.x and 7.x.
Comment #6
jmarkel CreditAttribution: jmarkel commentedWhoa - fast :-)
Comment #7.0
(not verified) CreditAttribution: commentedUpdated issue summary.