See https://www.drupal.org/coding-standards/docs#callback-def for details
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2611908.webform.options-callback-docs.patch | 2.67 KB | joachim |
See https://www.drupal.org/coding-standards/docs#callback-def for details
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2611908.webform.options-callback-docs.patch | 2.67 KB | joachim |
Comments
Comment #2
danchadwick commentedI haven't looked, but I'm a little surprised it isn't in webform.api.php. Patches welcome.
Comment #3
joachim commentedIt is, but now there is a standard to document callbacks, it should be tweaked to fit that.
The advantage is that callbacks for this are then documented themselves as 'Implements callback_foo()' and API docs link back to it.
Comment #4
joachim commentedHere's a patch.
Comment #6
liam morlandThanks for the patch!
Comment #7
liam morland